mirror of
https://github.com/TomHarte/CLK.git
synced 2025-03-03 11:31:47 +00:00
Correct MOVEM syntax, output of BSR.
This commit is contained in:
parent
768f47198f
commit
14ff3162cf
@ -948,9 +948,16 @@ struct ProcessorStorageConstructor {
|
||||
opname = "JSR";
|
||||
}
|
||||
break;
|
||||
case Operation::Bcc:
|
||||
if(opcode_& 0x100) {
|
||||
opname = "BSR";
|
||||
} else {
|
||||
opname = "Bcc";
|
||||
}
|
||||
break;
|
||||
|
||||
DirectMap(RTS);
|
||||
DirectMap(BRA);
|
||||
DirectMap(Bcc);
|
||||
DirectMap(DBcc);
|
||||
DirectMap(Scc);
|
||||
|
||||
@ -3043,7 +3050,14 @@ struct ProcessorStorageConstructor {
|
||||
// Do whatever is necessary to calculate the proper start address.
|
||||
const int mode = combined_mode(ea_mode, ea_register);
|
||||
const bool is_to_m = (operation == Operation::MOVEMtoMl || operation == Operation::MOVEMtoMw);
|
||||
dumper.set_source(mode, ea_register);
|
||||
|
||||
if(is_to_m) {
|
||||
dumper.set_source(Imm);
|
||||
dumper.set_dest(mode, ea_register);
|
||||
} else {
|
||||
dumper.set_source(mode, ea_register);
|
||||
dumper.set_dest(Imm);
|
||||
}
|
||||
switch(mode) {
|
||||
default: continue;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user