18 lines
277 B
Plaintext
18 lines
277 B
Plaintext
include print "../resources/dsa/print.dsa"
|
|
|
|
init:
|
|
dw stack: 0x10000
|
|
ldw stack, bpr
|
|
mov bpr, spr
|
|
|
|
start:
|
|
db string: "Damn this works pretty well"
|
|
lwi string, rg1
|
|
|
|
// push variables
|
|
push rg1 // string address.
|
|
push pcx // return address.
|
|
|
|
// call
|
|
jmp print::print
|
|
hlt |