1
0
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:
Thomas Harte 2019-04-15 09:44:06 -04:00
parent fba210f7ce
commit 45f35236a7

View File

@ -708,7 +708,7 @@ struct ProcessorStorageConstructor {
storage_.instructions[instruction].set_source(storage_, 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)) {
default: continue;