2.6.9.4.1 Syntax

TBB [Rn, Rm]

TBH [Rn, Rm, LSL #1]

where:

  • Rn is the register containing the address of the table of branch lengths. If Rn is PC, then the address of the table is the address of the byte immediately following the TBB or TBH instruction.
  • Rm is the index register. This contains an index into the table. For halfword tables, LSL #1 doubles the value in Rm to form the right offset into the table.