4 ms·
The program counter isn't the only element of that "what the program is doing now" state though. The context in which the current instruction is being executed
by Zaak 15y ago
The program counter isn't the only element of that "what the program is doing now" state though. The context in which the current instruction is being executed makes a world of difference.
- vogonj 15y agoinclusive of that, the best term is probably "machine state" or similar.
- calloc 15y agoI consider the "context" the scope. What is the scope in which the current statement is being executed...
- jpendry 15y agoAnd the ability to save all of that into a variable so that you can pass it around to other parts of your program means that your programming language supports Continuations.