holey-bytes/hbasm/assets/serial_driver.hbasm

8 lines
119 B
Plaintext

jmp r0, start
start:
jmp r0, init_serial_port
-- Uses r20 to set the port
init_serial_port:
add r20, r30, r10