Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- arm-linux-gnueabihf-gcc -fPIC -nostartfiles -nodefaultlibs -nostdlib dotty.S -o dotty
- arm-linux-gnueabihf-objcopy -j.text -O binary dotty dotty.bin
- arm-linux-gnueabihf-objdump -D -m arm -b binary dotty.bin
- */
- .text
- .global _start
- _start:
- ldr r1,=0x20064000
- putc:
- mov r0, #'.'
- str r0, [r1]
- putc_wait:
- ldr r0, [r1, #20]
- ands r0, #(1 << 6) @ transmitter empty
- beq putc_wait
- b putc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement