AND reg_{8}
Operation  Bitwise AND on A with reg_{8}.  

Op Code  10100[reg_{8}]


Flags  S Z are affected as defined H is set P/V is parity N C are reset 

T States  4 or 7 (HL) 
AND imm_{8}
Operation  Bitwise AND on A with imm_{8}. 

Op Code  11100110 : [imm_{8}] 
Flags  S Z are affected as defined H is set P/V is parity N C are reset 
T States  7 
AND (reg_{index} + ofs_{8})
Operation  Bitwise AND on A with the data at the memory location pointed to by reg_{index} plus ofs_{8}.  

Op Code  [reg_{index}] : 10100110 [ofs_{8}]


Flags  S Z are affected as defined H is set P/V is parity N C are reset 

T States  19 
BIT imm_{3},reg_{8}
Operation  Tests bit imm_{3} of reg_{8}.  

Op Code  11001011 : 01[imm_{3}][reg_{8}]


Flags  S P/V are scrambled Z is affected as defined H is set N is cleared C is unaffected 

T States  8 or 12 (HL) 
BIT imm_{3},(reg_{index} + ofs_{8})
Operation  Tests bit imm_{3} of the data at the memory location pointed to by reg_{index} plus ofs_{8}.  

Op Code  [reg_{index}] : 11001011 : [ofs_{8}] :
01[imm_{3}110


Flags  S P/V are scrambled Z is affected as defined H is set N is cleared C is unaffected 

T States  23 
CCF
Operation  Inverts the value of the carry flag. 

Op Code  00111111 
Flags  S Z P/V are unaffected H is the carry before operation N is reset See instruction for C 
T States  4 
OR reg_{8}
Operation  Bitwise OR on A with reg_{8}.  

Op Code  10110[reg_{8}]
 
Flags  S Z are affected as defined P/V is parity H N C are reset 

T States  4 or 7 (HL) 
OR imm_{8}
Operation  Bitwise OR on A with imm_{8}. 

Op Code  11110110 : [imm_{8}] 
Flags  S Z are affected as defined P/V is parity H N C are reset 
T States  7 
OR (reg_{index} + ofs_{8})
Operation  Bitwise OR on A with the data at the memory location pointed to by reg_{index} plus ofs_{8}.  

Op Code  [reg_{index}] : 10110110 [ofs_{8}]


Flags  S Z are affected as defined P/V is parity H N C are reset 

T States  19 
RES imm_{3},reg_{8}
Operation  Resets bit imm_{3} of reg_{8}.  

Op Code  11001011 : 10[imm_{3}][reg_{8}]


T States  8 or 15 (HL) 
RES imm_{3},(reg_{index} + ofs_{8})
Operation  Resets bit imm_{3} of the value at the memory location pointed to by reg_{index} plus ofs_{8}. 

Op Code  [reg_{index}] : 11001011 : [ofs_{8}] : 10[imm_{3}]110 
Flags  Not affected 
T States  23 
SCF
Operation  Sets the carry flag. 

Op Code  00110111 
Flags  S Z P/V are unaffected H N are reset C is set 
T States  4 
SET imm_{3},reg_{8}
Operation  Sets bit imm_{3} of reg_{8}.  

Op Code  11001011 : 11[imm_{3}][reg_{8}]


T States  8 or 15 (HL) 
SET imm_{3},(reg_{index} + ofs_{8})
Operation  Sets bit imm_{3} of the value at the memory location pointed to by reg_{index} plus ofs_{8}. 

Op Code  [reg_{index}] : 11001011 : [ofs_{8}] : 11[imm_{3}]110 
Flags  Not affected 
T States  23 
XOR reg_{8}
Operation  Bitwise XOR on A with reg_{8}.  

Op Code  10101[reg_{8}]
 
Flags  S Z are affected as defined H is set P/V is parity N C are reset 

T States  4 or 7 (HL) 
XOR imm_{8}
Operation  Bitwise XOR on A with imm_{8}. 

Op Code  11101110 : [imm_{8}] 
Flags  S Z are affected as defined H is set P/V is parity N C are reset 
T States  7 
XOR (reg_{index} + ofs_{8})
Operation  Bitwise XOR on A with the data at the memory location pointed to by reg_{index} plus ofs_{8}.  

Op Code  [reg_{index}] : 10101110 [ofs_{8}]


Flags  S Z are affected as defined H is set P/V is parity N C are reset 

T States  19 