micro opt
This commit is contained in:
parent
c53ecb2be6
commit
2dbab12373
1 changed files with 1 additions and 1 deletions
2
cpu.cpp
2
cpu.cpp
|
@ -996,7 +996,7 @@ bool cpu::single_operand_instructions(const uint16_t instr)
|
|||
setPSW_c(v & 1);
|
||||
|
||||
if (word_mode) {
|
||||
uint16_t add = word_mode ? v & 0xff00 : 0;
|
||||
uint16_t add = v & 0xff00;
|
||||
|
||||
v = (v & 255) >> 1;
|
||||
v |= hb << 7;
|
||||
|
|
Loading…
Add table
Reference in a new issue