BIT b,(HL) |
Test bit b of indirectly addressed memory location (HL). | |||||||||
Function: | Z
|
|||||||||
Format: |
|
byte 1: CB |
||||||||
|
byte 2 |
|||||||||
Description: | The specified bit of the memory location addressed by the contents of the HL register pair is tested and the Z flag is set according to the result. b may be any one of:
|
|||||||||
Data Flow: | ||||||||||
Timing: | 3 M cycles; 12 T states: 6 usec @ 2MHz |
|||||||||
Addressing Mode: | indirect |
|||||||||
Byte Codes: | ||||||||||
Flags: | ||||||||||
Example: | ||||||||||
OBJECT CODE |
Before: |
After: |
||||||||