1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
_loop: im 0x5a ; write Z to UART nop im 0x080a000c store ; increaase counter im _test load im 1 add im _test store im _loop poppc ; loop .align 4 _test: .long 1