forked from len0rd/rockbox
printing of the PC in assembly dumps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6143 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
12ab0ab36a
commit
71eceb43d0
1 changed files with 4 additions and 1 deletions
|
|
@ -393,9 +393,12 @@ void dynamic_recompile (struct dynarec_block *newblock) {
|
||||||
snprintf(meow,499,"Recompiling 0x%x",oldpc);
|
snprintf(meow,499,"Recompiling 0x%x",oldpc);
|
||||||
rb->splash(HZ*1,1,meow);
|
rb->splash(HZ*1,1,meow);
|
||||||
while(!done) {
|
while(!done) {
|
||||||
|
#ifdef DYNA_DEBUG
|
||||||
|
fdprintf(fd,"0x%x: ",PC);
|
||||||
|
#endif
|
||||||
op=FETCH;
|
op=FETCH;
|
||||||
clen = cycles_table[op];
|
clen = cycles_table[op];
|
||||||
tclen+=clen;
|
tclen+=clen;
|
||||||
switch(op) {
|
switch(op) {
|
||||||
case 0x00: /* NOP */
|
case 0x00: /* NOP */
|
||||||
case 0x40: /* LD B,B */
|
case 0x40: /* LD B,B */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue