From 5d553784540c72b3a967267b66a87a3b43f9a2ed Mon Sep 17 00:00:00 2001 From: khamidou Date: Wed, 23 Feb 2011 09:39:14 +0100 Subject: [PATCH] added a list of opcodes to hte readme --- README | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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. -- 2.43.0