This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
notes:comporg:spring2025:projects:dapx [2025/03/20 03:14] – [Debug Registers] tkastne1 | notes:comporg:spring2025:projects:dapx [2025/03/20 03:15] (current) – [Debug Registers] tkastne1 | ||
---|---|---|---|
Line 242: | Line 242: | ||
Assuming we push the register 0-13 directly after saving the base pointer we can do the following to get R0: | Assuming we push the register 0-13 directly after saving the base pointer we can do the following to get R0: | ||
+ | |||
< | < | ||
mov | mov | ||
Line 251: | Line 252: | ||
call _debug | call _debug | ||
</ | </ | ||
+ | |||
+ | This process can be repeated for all registers | ||
===Debugging our debugregs Subroutine=== | ===Debugging our debugregs Subroutine=== |