SAM3S8C Atmel Corporation, SAM3S8C Datasheet - Page 136

no-image

SAM3S8C

Manufacturer Part Number
SAM3S8C
Description
Manufacturer
Atmel Corporation
Datasheets
10.16.4.5
136
136
Case1
; an instruction sequence follows
Case2
; an instruction sequence follows
Case3
; an instruction sequence follows
BranchTable_Byte
BranchTable_H
CaseA
; an instruction sequence follows
CaseB
; an instruction sequence follows
CaseC
; an instruction sequence follows
ADR.W
TBB
DCB
DCB
DCB
TBH
DCI
DCI
DCI
SAM3S8/SD8
SAM3S8/SD8
Examples
[R0, R1]
R0, BranchTable_Byte
0
((Case2-Case1)/2)
((Case3-Case1)/2)
[PC, R1, LSL #1]
((CaseA - BranchTable_H)/2)
((CaseB - BranchTable_H)/2)
((CaseC - BranchTable_H)/2)
; R1 is the index, R0 is the base address of the
; branch table
; Case1 offset calculation
; Case2 offset calculation
; Case3 offset calculation
; R1 is the index, PC is used as base of the
; branch table
; CaseA offset calculation
; CaseB offset calculation
; CaseC offset calculation
11090A–ATARM–10-Feb-12
11090A–ATARM–10-Feb-12

Related parts for SAM3S8C