Difference between revisions of "AGIWiki/Interpreter"

Jump to navigation Jump to search
m
Text replacement - "</source>" to "</syntaxhighlight>"
(Fix syntax highlighting)
m (Text replacement - "</source>" to "</syntaxhighlight>")
Line 7: Line 7:
v202 = 35;
v202 = 35;
set(f98);
set(f98);
</source>
</syntaxhighlight>
translate into the sequence of numbers 3 202 35 12 98, or (for those who like hexadecimal notation) 03 CA 23 0C 62. The [[AGIWiki/Assignn|assignn]] command has a bytecode of 3, the command is working with [[AGIWiki/Variable|variable]] number 202, and the variable is being assigned the number 35. The [[AGIWiki/Set|set]] command, with bytecode 12, is going to set [[AGIWiki/Flag|flag]] number 98. When the interpreter reads these codes, it performs the actions that it knows correspond to those codes – this is the part that is called "interpreting."
translate into the sequence of numbers 3 202 35 12 98, or (for those who like hexadecimal notation) 03 CA 23 0C 62. The [[AGIWiki/Assignn|assignn]] command has a bytecode of 3, the command is working with [[AGIWiki/Variable|variable]] number 202, and the variable is being assigned the number 35. The [[AGIWiki/Set|set]] command, with bytecode 12, is going to set [[AGIWiki/Flag|flag]] number 98. When the interpreter reads these codes, it performs the actions that it knows correspond to those codes – this is the part that is called "interpreting."


TrustedUser
2,068

edits

Navigation menu