mirror of
https://github.com/TomHarte/CLK.git
synced 2025-03-03 11:31:47 +00:00
Map three-bit Q to 8, not 0.
This commit is contained in:
parent
3673f931b8
commit
b4bb7cdaf9
@ -1120,7 +1120,8 @@ struct ProcessorStorageConstructor {
|
||||
if(operation_ == Operation::MOVEq) {
|
||||
sprintf(tbuf, "%d", int8_t(opcode_));
|
||||
} else {
|
||||
sprintf(tbuf, "%d", ((opcode_ >> 9)&7));
|
||||
const auto val = ((opcode_ >> 9)&7);
|
||||
sprintf(tbuf, "%d", val ? val : 8);
|
||||
}
|
||||
break;
|
||||
}
|
||||
@ -2249,7 +2250,7 @@ struct ProcessorStorageConstructor {
|
||||
if(instruction & 0x20) {
|
||||
dumper.set_source(Dn, data_register);
|
||||
} else {
|
||||
dumper.set_source(Quick, data_register);
|
||||
dumper.set_source(Quick);
|
||||
}
|
||||
|
||||
// All further decoding occurs at runtime; that's also when the proper number of
|
||||
|
Loading…
x
Reference in New Issue
Block a user