tbb

Table Branch Byte

TBB [<Rn>, <Rm>]

PC-relative branch using a table of bytes (Switch statements).

Details

The Table Branch Byte instruction pC-relative branch using a table of bytes (Switch statements).

Pseudocode Operation

// PC-relative branch using a table of bytes (Switch statements)

Example

TBB [r1, r2]

Encoding

Binary Layout
111010001101
Rn
11110000
Rm
 
Format Thumb Branch
Opcode 0xE8D0F000
Extension T32 (Thumb)

Operands

  • Rn
    Table Base
  • Rm
    Index