diff --git a/README.md b/README.md index d3f3e06152986d3a8212242a93983fb10e4e5065..59ef8e25bc51d5ad601fd128dcba0325749d5ba5 100644 --- a/README.md +++ b/README.md @@ -117,13 +117,13 @@ this will echo back: ``` < {"returnstack":[],"instCount":1,"input":false,"output":[],"runstack":[],"pc":2} (4ms) ``` -This JSON provide details of the data stack (runstack), the function call +This JSON provides details of the data stack (runstack), the function call stack (returnstack), number of instructions executed so far (instCount), if an input is expected (input), if there is console output (output), and -the current line number that will be executed nexted (pc). +the current line number that will be executed next (pc). Once a program has been loaded the simulator will start execution and break at -the first instruction after entry point main. Returning the above JSON. +the first instruction after the entry point, main. Returning the above JSON. To execute the next instruction use the command: @@ -139,6 +139,8 @@ in the above program we can simple do: { "step" : 1 } ``` +and the following is returned: + ``` {"returnstack":[],"instCount":2,"input":true,"output":[],"runstack":[],"pc":3} ```