diff options
-rw-r--r-- | README.md | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -1,7 +1,9 @@ # MEM -16^2 sized shared program and heap memory -16^2 sized stack -16^2 sized return stack +16^2 shorts shared program and heap memory + +16^2 shorts stack + +16^2 shorts return stack input data is a single short at __0xbffe__ @@ -10,6 +12,8 @@ screen data is 8-bit indexed on two layers __from 0xbfff to 0xffff__ # OPS + +``` NOP ( -- ) sit back and do nothing LIT x ( -- x ) push x to top of the stack POP ( a -- ) remove top of the stack @@ -44,3 +48,4 @@ SLP ( -- ) give control back to the interpreter INC ( a -- a+1 ) DEC ( a -- a-1 ) DBG ( -- ) output debug informations, can be omitted in release builds +``` |