<< Previous | Next >>

> TEST Test for Zero Rabbit 4000 Instruction

> Opcode | Instruction | Clocks | Operation
> ED 4C | TEST BC | 4 (2,2) | BC | 0
> DD 5C | TEST BCDE | 4 (2,2) | BCDE | 0
> 4C | TEST HL | 2 | HL | 0
> DD 4C | TEST IX | 4 (2,2) | IX | 0
> FD 4C | TEST IY | 4 (2,2) | IY | 0
> FD 5C | TEST JKHL | 4 (2,2) | JKHL | 0

> Flags | ALTD | IOI/IOE
> S | Z | L/V | C | F | R | SP | S | D
> · | · | L | 0 | · |  |  |  |

> #### Description

> These instructions test registers for zero by performing a bitwise OR of the register and zero.

<< Previous | Next >>