Как я понял в 65SC02 добавлено 32 комманды.
добавлены инструкции BBR,BBS,RMB,SMB.
Branch on Bit Reset (BBRi)
Function The i th bit value in zero page memory location ZZ is tested. If it is clear, a branch is taken; if it is set, the instruction immediately following the
three-byte BBRi instruction is executed. If the branch is taken, a one-byte signed displacement, fetched from the third byte of the instruction, is added to the
program counter. Once the branch address has been calculated, the result is loaded into the program counter, transferring control to that location. The allowable
range of the displacement is -128 to +127 from the instruction immediately following the branch .
Adressing Modes & Opcodes
Addressing Mode Syntax Opcode # of bytes # of cycles
Zero Page, Relative BBR0 ZZ, hhll 0F ZZ rr 3 6
Zero Page, Relative BBR1 ZZ, hhll 1F ZZ rr 3 6
Zero Page, Relative BBR2 ZZ, hhll 2F ZZ rr 3 6
Zero Page, Relative BBR3 ZZ, hhll 3F ZZ rr 3 6
Zero Page, Relative BBR4 ZZ, hhll 4F ZZ rr 3 6
Zero Page, Relative BBR5 ZZ, hhll 5F ZZ rr 3 6
Zero Page, Relative BBR6 ZZ, hhll 6F ZZ rr 3 6
Zero Page, Relative BBR7 ZZ, hhll 7F ZZ rr 3 6
Branch on Bit Set (BBSi)
Function The i th bit value in zero page memory location ZZ is tested. If it is set, a branch is taken; if it is clear, the instruction immediately following the
three-byte BBSi instruction is executed. If the branch is taken, a one-byte signed displacement, fetched from the third byte of the instruction, is added to the
program counter. Once the branch address has been calculated, the result is loaded into the program counter, transferring control to that location. The allowable
range of the displacement is -128 to +127 from the instruction immediately following the branch .
Adressing Modes & Opcodes
Addressing Mode Syntax Opcode # of bytes # of cycles
Zero Page, Relative BBS0 ZZ, hhll 8F ZZ rr 3 6
Zero Page, Relative BBS1 ZZ, hhll 9F ZZ rr 3 6
Zero Page, Relative BBS2 ZZ, hhll AF ZZ rr 3 6
Zero Page, Relative BBS3 ZZ, hhll BF ZZ rr 3 6
Zero Page, Relative BBS4 ZZ, hhll CF ZZ rr 3 6
Zero Page, Relative BBS5 ZZ, hhll DF ZZ rr 3 6
Zero Page, Relative BBS6 ZZ, hhll EF ZZ rr 3 6
Zero Page, Relative BBS7 ZZ, hhll FF ZZ rr 3 6
Reset Memory Bit i (RMBi)
Function Clear 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.
Adressing Modes & Opcodes
Addressing Mode Syntax Opcode # of bytes # of cycles
Zero page RMB0 ZZ 07 ZZ 2 7
Zero page RMB1 ZZ 17 ZZ 2 7
Zero page RMB2 ZZ 27 ZZ 2 7
Zero page RMB3 ZZ 37 ZZ 2 7
Zero page RMB4 ZZ 47 ZZ 2 7
Zero page RMB5 ZZ 57 ZZ 2 7
Zero page RMB6 ZZ 67 ZZ 2 7
Zero page RMB7 ZZ 77 ZZ 2 7
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.
Adressing 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