Hi, one thing that I find makes Assembly harder to learn than Java is that it is much harder to troubleshoot.
For example in Java I can write a few System.out.println-lines to keep me informed about the current status/value of a variable.
Is there something equivelant or similar for Assembly?
For example to get the value of R22 printed in the console during execution of code.
test:
LDI R22, 0xFF
INC R22
CPI R22,10
BRNE test
RET
For example in Java I can write a few System.out.println-lines to keep me informed about the current status/value of a variable.
Is there something equivelant or similar for Assembly?
For example to get the value of R22 printed in the console during execution of code.
test:
LDI R22, 0xFF
INC R22
CPI R22,10
BRNE test
RET