Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

UM0438 Datasheet(PDF) 31 Page - STMicroelectronics

Part # UM0438
Description  This user manual defines a programming model for use with the variable-length encoding
PDF  50 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0438 Datasheet(HTML) 31 Page - STMicroelectronics

Back Button UM0438 Datasheet HTML 27Page - STMicroelectronics UM0438 Datasheet HTML 28Page - STMicroelectronics UM0438 Datasheet HTML 29Page - STMicroelectronics UM0438 Datasheet HTML 30Page - STMicroelectronics UM0438 Datasheet HTML 31Page - STMicroelectronics UM0438 Datasheet HTML 32Page - STMicroelectronics UM0438 Datasheet HTML 33Page - STMicroelectronics UM0438 Datasheet HTML 34Page - STMicroelectronics UM0438 Datasheet HTML 35Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 31 / 50 page
background image
UM0438
Simplified mnemonics for VLE instructions
31/50
A.5
Simplified mnemonics that incorporate the BO32 and BO16
operands
The mnemonics in Table 18 allow common BO32 and BO16 operand encodings to be
specified as part of the mnemonic, along with the set link register bit (LK). There are no
simplified mnemonics for unconditional branches, branch to link register, and branch to
count register. For these, the basic mnemonics e_b, e_bl, se_b, se_bl, se_blr, se_blrl,
se_bctr, and se_bctrl are used.
Table 19 shows the syntax for basic simplified branch mnemonics
The simplified mnemonics in Table 18 that test a condition require a corresponding CR bit
as the first operand (as the examples in Section A.5.1: Examples that eliminate the BO32
and BO16 operands below illustrate). The symbols in Table 17 can be used in place of a
numeric value.
A.5.1
Examples that eliminate the BO32 and BO16 operands
The simplified mnemonics in Table 18 are used in the following examples:
Table 18.
Branch simplified mnemonics
Branch semantics
LR Update Not Enabled
LR Update Enabled
e_bc
se_bc
e_bcl
Branch if condition true
e_bt
se_bt
e_btl
Branch if condition false
e_bf
se_bf
e_bfl
Decrement CTR, branch if CTR
≠ 0(1)
1.
Simplified mnemonics for branch instructions that do not test CR bits should specify only a target.
Otherwise, a programming error may occur.
e_bdnz
e_bdnzl
Decrement CTR, branch if CTR = 01
e_bdz
e_bdzl
Table 19.
Branch instructions
Instruction
Standard mnemonic
Syntax
Simplified
mnemonic
Syntax
Branch
e_b (e_bl)
se_b (se_bl)
target_addr
N/A, syntax does not include BO32 or
BO16
Branch Conditional
e_bc (e_bcl)
se_bc
BO32,BI32,target_add
r
BO16,BI16,target_add
r
e_bx(1) (e_bxl)
se_bx1
BI32(2),target_addr
BI16 2,target_addr
Branch to Link
Register
se_blr (se_blrl)
N/A, syntax does not include BO32 or
BO16
Branch to Count
Register
se_bctr (se_bctrl)
N/A, syntax does not include BO32 or
BO16
1.
x stands for one of the symbols in Table 14 where applicable.
2.
BI32 or BI16 can be a numeric value or an expression as shown in Table 17..



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


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