IT lexicon › Hardware › Thumb instruction set

Thumb instruction set

Hardware På svenska → Updated: 2026-11-03

ARM's compact instruction encoding, invented so that firmware would fit in expensive flash.

The ARM7TDMI of 1994 carried a T for Thumb: a 16-bit encoding of the most common 32-bit ARM instructions. Code shrank by roughly a third, which mattered a great deal in mobile phones where memory cost more than the CPU. The trade-off was fewer accessible registers and more instructions per job. Thumb-2 (2003) mixed 16- and 32-bit instructions and clawed most of that loss back.

Cortex-M runs nothing but Thumb. A leftover from the old mode switching is that the lowest bit of every branch target must be 1. Forget it in a hand-written vector table and the core HardFaults on its very first instruction.

← Back to the lexicon