15 lines
274 B
Plaintext
15 lines
274 B
Plaintext
include serial: "./serial.dsa"
|
|
|
|
dw stack: 0x1000
|
|
_init:
|
|
ldw stack, bpr
|
|
mov bpr, spr
|
|
|
|
db hello: "Serial works lol. this took ages and some clanker forgetting to dereference a pointer."
|
|
main:
|
|
lwi hello, rg0
|
|
push rg0
|
|
call serial::print
|
|
pop zero
|
|
hlt
|