From: khamidou Date: Wed, 23 Feb 2011 08:39:14 +0000 (+0100) Subject: added a list of opcodes to hte readme X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=5d553784540c72b3a967267b66a87a3b43f9a2ed;p=miniforth.git added a list of opcodes to hte readme --- diff --git a/README b/README index 6bd4962..e0d7a35 100644 --- a/README +++ b/README @@ -6,4 +6,20 @@ source code. = format of binary files +There is no real format. The assembler simply reads the +files and spits binary code corresponding to the direct +ives he has read. += the assembler opcodes + +PUSH: followed by a value. Pushes this value on the stack +POP: pop a value off the stack +NOP: do nothing +DPRINT: Debug PRINT; print the top of the stack +INC: increment the value on top of the stack +DEC: decrement the same value +CALL: syn: call label; calls the label +RET: return to the caller +JMP: jump inconditionally to a label. + +To see those opcodes used, see the tests directory.