Introduction to ARM
Thumb
Remarks
Limitations
Remarks
Whereas R13’s role as the stack pointer is a convention in ARM mode, in Thumb mode it’s more hard-wired.
Thumb is a subset of the ARM instruction set encoded in 16-bit-wide instructions.
A CPU has Thumb support if it has a T in its name, or it is architecture v6 or later.
Uses 30% less external memory power than ARM code.
Thumb is not a complete architecture: you can’t have a Thumb-only CPU.
Some of the limitations of Thumb mode include:
Thumb uses the same register set as ARM — but only R0-R7.
Whereas R13’s role as the stack pointer is a convention in ARM mode, in Thumb mode it’s more hard-wired.
The slide quotes ARM’s “ideal” values. Take with a pinch of salt.