1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-13 00:29:14 +00:00

Correct BSR test.

This commit is contained in:
Thomas Harte 2022-04-21 16:31:25 -04:00
parent 14ff3162cf
commit 3a42b0ac3d

View File

@ -942,14 +942,14 @@ struct ProcessorStorageConstructor {
case Operation::TSTl: opname = "TST.l"; break;
case Operation::JMP:
if(opcode_& 0x40) {
if(opcode_ & 0x40) {
opname = "JMP";
} else {
opname = "JSR";
}
break;
case Operation::Bcc:
if(opcode_& 0x100) {
if((opcode_ & 0xf00) == 0x100) {
opname = "BSR";
} else {
opname = "Bcc";