Changes

Jump to: navigation, search

GBZ80

338 bytes removed, 23 April
/* BCD group */
hf := a.4 xor tmp.4, a := tmp
|| Decimal Adjust Accumulator
|-
| rrd || ED 01100111 || 5 || + || 0 || 0 || - || tmp := (hl), (hl) := [tmp >> 4] + [[a and 0x0f] << 4],
a := [a and 0xf0] + [tmp and 0x0f] => flags
|| Rotate Right Decimal
|-
| rld || ED 01101111 || 5 || + || 0 || 0 || - || tmp := [(hl) << 4] + [a and 0x0f], (hl) := tmp,
a := [a and 0xf0] + [tmp >> 8] => flags
|| Rotate Left Decimal
|}
13,173
edits