Table Branch Byte and Table Branch Halfword.
Rm, LSL #1]
is the base register. This contains the address of the table of branch lengths.
must not be SP.
If PC is specified for
, the value used is the address of the instruction plus 4.
is the index register. This contains an index into the table.
must not be PC or SP.
These instructions cause a PC-relative forward branch using
a table of single byte offsets (
TBB) or halfword offsets
a pointer to the table, and
an index into the table. The branch length is twice the value of
the byte (
TBB) or the halfword (
from the table. The target of the branch table must be in the same