mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-25 18:30:21 +00:00
Corrects [AND/OR/EOR].bw Dn, -(An) to decrement destination.
It was previously doing a predecrement on the internal source address, which is unused. This fixes at least Dan Dare III and Silkworm.
This commit is contained in:
parent
45375fb5d0
commit
db03b03276
@ -1056,7 +1056,7 @@ struct ProcessorStorageConstructor {
|
||||
break;
|
||||
|
||||
case bw(PreDec): // [AND/OR/EOR].bw Dn, -(An)
|
||||
op(dec(ea_register) | MicroOp::SourceMask, seq("n nrd", { a(ea_register) }, !is_byte_access));
|
||||
op(dec(ea_register) | MicroOp::DestinationMask, seq("n nrd", { a(ea_register) }, !is_byte_access));
|
||||
op(Action::PerformOperation, seq("np nw", { a(ea_register) }, !is_byte_access));
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user