Skip to content

Instantly share code, notes, and snippets.

@mntmn
Created September 27, 2013 11:26
Show Gist options
  • Save mntmn/6727202 to your computer and use it in GitHub Desktop.
Save mntmn/6727202 to your computer and use it in GitHub Desktop.
value :=
0..1599 // constant
*0..1599 // memory value
*0..1599+0..255 // memory content plus constant
*0..1599+*0..1599 // memory content plus other memory content
target := value // denotes a memory cell
mv target, value // move value to target
go target // jump to target
eq value1, value2, target // jump to target if value1 == value2
lt value1, value2, target // jump to target if value1 < value2
ad target, value // add value to target
sb target, value // subtract value from target
ml target, value // multiply value with target and store in target
dv target, value // divide target by value and store in target
xr target, value // XOR target by value and store in target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment