1

How can I print some text to the JTAG UART in the ARM simulator "CPUlator Armv7 DE1-Soc"? Can someone provide a source code sample?

Link to the simulator here: https://cpulator.01xz.net/?sys=arm-de1soc

huse
  • 324
  • 2
  • 11

1 Answers1

2

This can be done by using the information provided here.
The code for displaying '0' in the JTAG UART console would then be:

.global _start
_start:
        ldr r0,=0xff201000
        mov r1, #'0'
        str r1, [r0]
        b .

enter image description here

I hope this helps.

Frant
  • 5,382
  • 1
  • 16
  • 22