diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-10-18 02:00:44 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-10-18 02:00:44 -0700 |
commit | 9ecbcc552ee4646bdec8181bb6a8757a7b0fd700 (patch) | |
tree | b12b8cde13c1ce0ce3149390fd681b0458d59f85 /subx/011direct_addressing.cc | |
parent | cb4be511b7bae326802420125403ba91870f30c5 (diff) | |
download | mu-9ecbcc552ee4646bdec8181bb6a8757a7b0fd700.tar.gz |
4082
subx: correct a 'copy' ('mov') instruction as well to get its operand right from the opcode.
Diffstat (limited to 'subx/011direct_addressing.cc')
-rw-r--r-- | subx/011direct_addressing.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/011direct_addressing.cc b/subx/011direct_addressing.cc index 827ce41e..a8f3fe7e 100644 --- a/subx/011direct_addressing.cc +++ b/subx/011direct_addressing.cc @@ -235,7 +235,7 @@ case 0x53: case 0x54: case 0x55: case 0x56: -case 0x57: { +case 0x57: { // push r32 to stack uint8_t reg = op & 0x7; trace(2, "run") << "push reg " << NUM(reg) << end(); const int32_t val = Reg[reg].u; |