X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=07-interpreter%2Finstructions.html;fp=07-interpreter%2Finstructions.html;h=5abe5934691dc9d7401c408e8f0b4c1ec79a27af;hb=400eea877fad13741f408c6c23f254a51d3f1837;hp=0000000000000000000000000000000000000000;hpb=ee8194796a73cdf220172b88acf1a81afa3a379e;p=ou-summer-of-code-2017.git diff --git a/07-interpreter/instructions.html b/07-interpreter/instructions.html new file mode 100644 index 0000000..5abe593 --- /dev/null +++ b/07-interpreter/instructions.html @@ -0,0 +1,46 @@ + ++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
InstructionDescription
inc rincrement contents of register r
dec rdecrement contents of register r
set r iset contents of register r to literal value i
cpy r sset contents of register r into register s
sto r mstore contents of register r into memory location m
ld r mload contents of memory location m into register r
jmp ijump to instruction i places forward
jpz r ijump to instruction i places forward if
register r contains zero, otherwise continue to next instruction