Atmel ARM-Based Evaluation Kit for SAM4S16C, 32-Bit ARM® Cortex® Microcontroller ATSAM4S-WPIR-RD ATSAM4S-WPIR-RD 데이터 시트

제품 코드
ATSAM4S-WPIR-RD
다운로드
페이지 1231
185
SAM4S Series [DATASHEET]
Atmel-11100G-ATARM-SAM4S-Datasheet_27-May-14
Rmis the index register. This contains an index into the table. For halfword tables,
LSL #1 doubles the value in Rm to form the right offset into the table.
Operation
These instructions cause a PC-relative forward branch using a table of single byte offsets for TBB, or halfword 
offsets for TBH. Rn provides a pointer to the table, and Rm supplies an index into the table. For TBB the branch 
offset is twice the unsigned value of the byte returned from the table. and for TBH the branch offset is twice the 
unsigned value of the halfword returned from the table. The branch occurs to the address at that offset from the 
address of the byte immediately after the TBB or TBH instruction.
Restrictions
The restrictions are:
Rn
 must not be SP
Rm
 must not be SP and must not be PC
When any of these instructions is used inside an IT block, it must be the last instruction of the IT block.
Condition Flags
These instructions do not change the flags.