Files
mvm/examples/example2.S

10 lines
167 B
ArmAsm

; I/O example - simple echo
read: in
dup
out
push 0x0A
sub
jne &read ; loop until the input != new line (0x0A)
halt