| |||||||||||||
Technical Support On-Line Manuals RealView Assembler User's Guide | ARM, Thumb, and ThumbEE state
A processor that is executing ARM instructions is operating in ARM state. A processor that is executing Thumb instructions is operating in Thumb state. A processor in one state cannot execute instructions from another instruction set. For example, a processor in ARM state cannot execute Thumb instructions, and a processor in Thumb state cannot execute ARM instructions. You must ensure that the processor never receives instructions of the wrong instruction set for the current state. Most ARM processors always start executing code in ARM state. However, some processors can only execute Thumb code, or can be configured to start in Thumb state. ThumbEE introduces a new instruction set state, ThumbEE state. In this state, instructions are executed as defined in the ThumbEE instruction set. Each instruction set includes instructions to change processor state. To change between ARM and Thumb states, you must switch the assembler mode to produce the correct opcodes using See Instruction set and syntax selection directives for details. | ||||||||||||
| |||||||||||||