Electronic Components Datasheet Search
  English  ▼

X  

TMS320F Datasheet(PDF) 141 Page - Texas Instruments

Part # TMS320F
Description  CPU and Instruction Set
PDF  389 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  TI [Texas Instruments]
Direct Link  http://www.ti.com
Logo TI - Texas Instruments

TMS320F Datasheet(HTML) 141 Page - Texas Instruments

Back Button TMS320F Datasheet HTML 137Page - Texas Instruments TMS320F Datasheet HTML 138Page - Texas Instruments TMS320F Datasheet HTML 139Page - Texas Instruments TMS320F Datasheet HTML 140Page - Texas Instruments TMS320F Datasheet HTML 141Page - Texas Instruments TMS320F Datasheet HTML 142Page - Texas Instruments TMS320F Datasheet HTML 143Page - Texas Instruments TMS320F Datasheet HTML 144Page - Texas Instruments TMS320F Datasheet HTML 145Page - Texas Instruments Next Button
Zoom Inzoom in Zoom Outzoom out
 141 / 389 page
background image
Branch on Auxiliary Register Not Zero
BANZ
7-41
Assembly Language Instructions
Example 1
BANZ
PGM0
;(PGM0 labels program address 0)
Before Instruction
After Instruction
ARP
0
ARP
0
AR0
5h
AR0
4h
Because the content of AR0 is not zero, the program address denoted by
PGM0 is loaded into the program counter (PC), and the program continues ex-
ecuting from that location. The default auxiliary register operation is a decre-
ment of the current auxiliary register content; thus, AR0 contains 4h at the end
of the execution.
or
Before Instruction
After Instruction
ARP
0
ARP
0
AR0
0h
AR0
FFFFh
Because the content of AR0 is zero, the branch is not executed; instead, the
PC is incremented by 2, and execution continues with the instruction following
the BANZ instruction. Because of the default decrement, AR0 is decremented
by 1, becoming –1.
Example 2
MAR *,AR0
;Set ARP to point to AR0.
LAR AR1,#3
;Load AR1 with 3.
LAR AR0,#60h
;Load AR0 with 60h.
PGM191
ADD *+,AR1
;Loop: While AR1 not zero,
BANZ PGM191,*–AR0 ;add data referenced by AR0
;to accumulator and increment
;AR0 value.
The contents of data-memory locations 60h–63h are added to the accumula-
tor.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com