micro opt

This commit is contained in:
folkert van heusden 2022-03-31 23:19:41 +02:00
parent c53ecb2be6
commit 2dbab12373

View file

@ -996,7 +996,7 @@ bool cpu::single_operand_instructions(const uint16_t instr)
setPSW_c(v & 1); setPSW_c(v & 1);
if (word_mode) { if (word_mode) {
uint16_t add = word_mode ? v & 0xff00 : 0; uint16_t add = v & 0xff00;
v = (v & 255) >> 1; v = (v & 255) >> 1;
v |= hb << 7; v |= hb << 7;