fixed some bugs with file picker & loading different file types - will start working on brainf##k interpreter tomorrow because a compiler isn't enough.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
include print "./lib/print.dsa"
|
||||
|
||||
dw stack: 0x10000
|
||||
db string: "Hello world frfrfr"
|
||||
db string: "Hello world"
|
||||
|
||||
init:
|
||||
// set up a stack.
|
||||
@@ -9,12 +9,10 @@ init:
|
||||
mov bpr, spr
|
||||
|
||||
start:
|
||||
// string, rg1
|
||||
lli 87, rg1
|
||||
lwi string, rg1
|
||||
|
||||
push rg1
|
||||
|
||||
call print::print_byte
|
||||
call print::print
|
||||
pop rg1
|
||||
|
||||
hlt
|
||||
Reference in New Issue
Block a user