Mnemo | Params | Description
|
---|
copy | dst,src | copy value from <src> to <dst>
|
move | dst,src | move value from <src> to <dst>;
it is significant for identifiers and strings to distinguish between
copy and move
|
push | src | pushes given value onto stack
|
pop | dst | pops value from stack
|
add | dst,src | adds <src> to <dst>
|
sub | dst,src | subtracts <src> from <dst>
|
mul | dst,src | multiplies <src> to <dst>
|
fetch | dst | fetches a value from lexical analyzer to <dst>
|
put | src | puts given value to output
|
return | - | ends semantic action procedure/program
|
Currently no other instructions are supported.
It is expected that there will be some for handling code generation, branching,
table handling, etc. soon. But I have only two hands ... ;-)