mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 23:52:26 +00:00
Corrects decoding of ADDA and SUBA.
This commit is contained in:
parent
fba210f7ce
commit
45f35236a7
@ -708,7 +708,7 @@ struct ProcessorStorageConstructor {
|
|||||||
storage_.instructions[instruction].set_source(storage_, ea_mode, ea_register);
|
storage_.instructions[instruction].set_source(storage_, ea_mode, ea_register);
|
||||||
|
|
||||||
const int mode = combined_mode(ea_mode, ea_register);
|
const int mode = combined_mode(ea_mode, ea_register);
|
||||||
const bool is_long_word_access = !((instruction >> 8)&1);
|
const bool is_long_word_access = !!((instruction >> 8)&1);
|
||||||
|
|
||||||
switch(is_long_word_access ? l(mode) : bw(mode)) {
|
switch(is_long_word_access ? l(mode) : bw(mode)) {
|
||||||
default: continue;
|
default: continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user