mirror of
https://github.com/ksherlock/mpw.git
synced 2024-11-22 00:32:44 +00:00
inline macsbug names for JSR address, adjust macsbug name printing.
This commit is contained in:
parent
231bd95bdc
commit
ab783ea4c9
@ -185,7 +185,7 @@ namespace {
|
||||
{
|
||||
s.push_back(Debug::ReadByte(pc++));
|
||||
}
|
||||
printf("%s\n", s.c_str());
|
||||
printf(" %s\n\n", s.c_str());
|
||||
|
||||
// word-align
|
||||
pc = pc + 1 & ~0x01;
|
||||
@ -253,6 +253,11 @@ namespace {
|
||||
address = pc + 2 + offset;
|
||||
break;
|
||||
}
|
||||
case 0x4EB9: // jsr address
|
||||
{
|
||||
address = Debug::ReadLong(pc + 2);
|
||||
break;
|
||||
}
|
||||
case 0x4EF9: // jmp address
|
||||
{
|
||||
address = Debug::ReadLong(pc + 2);
|
||||
|
Loading…
Reference in New Issue
Block a user