SAM3N0C Atmel Corporation, SAM3N0C Datasheet - Page 136

no-image

SAM3N0C

Manufacturer Part Number
SAM3N0C
Description
Manufacturer
Atmel Corporation
Datasheets
10.17.4.5
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
SAM3N
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
11011A–ATARM–04-Oct-10

Related parts for SAM3N0C