Set Memory Bit i (SMBi)

Function
Set the specified bit in the zero page memory location specified in the operand. The bit to clear is specified by a number concatenated to the end of the mnemonic, resulting in 8 distinct opcodes.
Addressing Modes & Opcodes
Addressing Mode Syntax Opcode # of bytes # of cycles
Zero page SMB0 ZZ 87 ZZ 2 7
Zero page SMB1 ZZ 97 ZZ 2 7
Zero page SMB2 ZZ A7 ZZ 2 7
Zero page SMB3 ZZ B7 ZZ 2 7
Zero page SMB4 ZZ C7 ZZ 2 7
Zero page SMB5 ZZ D7 ZZ 2 7
Zero page SMB6 ZZ E7 ZZ 2 7
Zero page SMB7 ZZ F7 ZZ 2 7
Flags Affected
N V T B D I Z C
- - 0 - - - - -