Debugging
Opcode | Description |
---|---|
PRINTF Rx | Prints out text and numbers to the Error Buffer. PRINTF requires a null-terminated string to be pointed to by Rx. If any more are attempted to be fed into it, they are lost and the string prints as if LF was sent. PRINTF R2 — prints a string in memory pointed to by R2 |
HEX.b Rx HEX.w Rx HEX.l Rx | Prints byte/word/long of Rx to buffer in hex. HEX commands will print hex and decimal numbers into the buffer, respectively. HEX.L R6 — prints a 32 bit value in hex from R6 |
DEC.b Rx DEC.w Rx DEC.l Rx | Prints byte/word/long of Rx to buffer in DEC. DEC commands will print hex and decimal numbers into the buffer, respectively. .B, .W, and .L will print 8, 16, and 32 bits worth of number respectively. DEC.B R1 — prints an 8 bit value in decimal from R1 |