mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-20 21:30:59 +00:00
Correct BSR test.
This commit is contained in:
parent
14ff3162cf
commit
3a42b0ac3d
@ -942,14 +942,14 @@ struct ProcessorStorageConstructor {
|
|||||||
case Operation::TSTl: opname = "TST.l"; break;
|
case Operation::TSTl: opname = "TST.l"; break;
|
||||||
|
|
||||||
case Operation::JMP:
|
case Operation::JMP:
|
||||||
if(opcode_& 0x40) {
|
if(opcode_ & 0x40) {
|
||||||
opname = "JMP";
|
opname = "JMP";
|
||||||
} else {
|
} else {
|
||||||
opname = "JSR";
|
opname = "JSR";
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case Operation::Bcc:
|
case Operation::Bcc:
|
||||||
if(opcode_& 0x100) {
|
if((opcode_ & 0xf00) == 0x100) {
|
||||||
opname = "BSR";
|
opname = "BSR";
|
||||||
} else {
|
} else {
|
||||||
opname = "Bcc";
|
opname = "Bcc";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user