Electronic Components Datasheet Search
  English  ▼

X  

UM0144 Datasheet(PDF) 11 Page - STMicroelectronics

Part # UM0144
Description  ST7 Assembler Linker
PDF  92 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0144 Datasheet(HTML) 11 Page - STMicroelectronics

Back Button UM0144 Datasheet HTML 7Page - STMicroelectronics UM0144 Datasheet HTML 8Page - STMicroelectronics UM0144 Datasheet HTML 9Page - STMicroelectronics UM0144 Datasheet HTML 10Page - STMicroelectronics UM0144 Datasheet HTML 11Page - STMicroelectronics UM0144 Datasheet HTML 12Page - STMicroelectronics UM0144 Datasheet HTML 13Page - STMicroelectronics UM0144 Datasheet HTML 14Page - STMicroelectronics UM0144 Datasheet HTML 15Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 11 / 92 page
background image
ST7 Assembler Linker
2 ST7 Addressing Modes
UM0144
11/92
2.7
Indexed modes
The ST7 hardware supports four types of indexed mode:
●
indexed without offset,
●
indexed with a 8-bit unsigned offset (range [0 ,255]),
●
indexed with a 16-bit offset,
The source coding syntax is:
(X)
or (Y) for no-offset indexing.
(offset,X)
or (offset,Y)for indexed with offset.
Some instructions (such as ld A or add) support the first three types of indexed mode. Some
ST7 instructions (such as inc) only support the first two types (i.e. indexed without offset and
indexed with 8-bit unsigned offset). Examples:
2.8
Relative mode
This addressing mode is used to modify the Program Counter (PC) register value by adding an
8-bit signed offset to it (i.e. in the range -128 to +127). The relative addressing mode is made
up of two sub-modes:
●
relative (direct)—where the offset is following the op-code.
●
relative (indirect)—where the offset is defined in memory, whose address follows the op-
code.
Relative mode is used by the instructions JRxx, CALLR, and BTJx.
At source coding level, the target label is specified (and the assembler computes the
displacement).
2.9
High, low addressing modes
In some instances, it may be necessary to access the highest part of an address (8 highest
bits) or the lowest part of an address (8 lowest bits) as well. For this feature, the syntax is the
following one:
<expression>
where expression is:
symbol.H (highest part) ,
or
symbol.L (lowest part).
ld
A,(X)
; no-offset mode
ld
A,(0,X)
; 8-bit offset mode
ld
A,(127,X)
; 8-bit offset mode
ld
A,(259,X)
; 16-bit offset mode



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


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