I should go to sleep frfr.
This commit is contained in:
+19
-2
@@ -1,12 +1,15 @@
|
||||
include print "../resources/dsa/print.dsa"
|
||||
include fib "../resources/dsa/fib.dsa"
|
||||
|
||||
dw stack: 0x10000
|
||||
db string: "Hello world! This is about to be dependency hell..."
|
||||
db string2: "And extremely jank. Ridiculously, unfathomably jank."
|
||||
|
||||
init:
|
||||
dw stack: 0x10000
|
||||
ldw stack, bpr
|
||||
mov bpr, spr
|
||||
|
||||
start:
|
||||
db string: "Damn this works pretty well"
|
||||
lwi string, rg1
|
||||
|
||||
// push variables
|
||||
@@ -15,4 +18,18 @@ start:
|
||||
|
||||
// call
|
||||
jmp print::print
|
||||
|
||||
|
||||
lli 25, rg0
|
||||
push rg0
|
||||
push pcx
|
||||
jmp fib::fib_n
|
||||
|
||||
|
||||
lwi string2, rg1
|
||||
push rg1
|
||||
push pcx
|
||||
|
||||
jmp print::print
|
||||
|
||||
hlt
|
||||
Reference in New Issue
Block a user