holey-toys/example.S

18 lines
297 B
ArmAsm
Raw Normal View History

2024-03-04 20:24:03 +00:00
; holey-bytes vm
; https://git.ablecorp.us/AbleOS/holey-bytes/src/branch/trunk/spec.md
; TODO:
; .origin 0x1000
; .align 0x100
; .db "hello"
2024-03-05 14:17:19 +00:00
; .struct
2024-03-04 20:24:03 +00:00
start:
jmp end
un
; .db "hello world\n"
add16 r1, r2, r255
addi8 r1, r2, -128
lra r1, r0, start
jmp start
end:
tx