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
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 .
I hope this helps.