TBBS/TBBC Instructions

From Toyota Wiki
Jump to: navigation, search

TBBS: Branch if bit set ( bit.(op.1) of M[op.2]) = 1 then PC=PC+op.3

opcode: 0x35 operand 1: first 3 bits specify bit to test (0 through 7), remaining 5 bits specify memory location (limited to first 32 bytes of RAM) operand 2: 8 bit relative shift like the other branch functions

TBBC: Branch if bit clear ( bit.(op.1) of M[op.2]) = 0 then PC=PC+op.3

Personal tools