From 792afdc668fb089d90d734087f7c98c1810ea847 Mon Sep 17 00:00:00 2001 From: kdx Date: Fri, 14 Apr 2023 00:49:06 +0200 Subject: formatting --- README.md | 11 ++++++++--- 1 file 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 +``` -- cgit v1.2.3