aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-04-14 00:49:06 +0200
committerkdx <kikoodx@paranoici.org>2023-04-14 00:49:06 +0200
commit792afdc668fb089d90d734087f7c98c1810ea847 (patch)
treeb2c6f93b9a6c320f4ef8b84d5b0bef5c5d6551c4
parente59d3b714c620dffe4cb799b703e853741055917 (diff)
downloadorga-792afdc668fb089d90d734087f7c98c1810ea847.tar.gz
formatting
-rw-r--r--README.md11
1 files changed, 8 insertions, 3 deletions
diff --git a/README.md b/README.md
index 9559004..4ceb738 100644
--- a/README.md
+++ b/README.md
@@ -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
+```