Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

UM0144 Datasheet(PDF) 9 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) 9 Page - STMicroelectronics

Back Button UM0144 Datasheet HTML 5Page - STMicroelectronics UM0144 Datasheet HTML 6Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 92 page
background image
ST7 Assembler Linker
2 ST7 Addressing Modes
UM0144
9/92
Two-operand instructions are coded with destination operand appearing at first position. For
example:
2.3
Short and long addressing modes
For ST7 there are two addressing modes that differ in memory address size (i.e. one byte for
short mode and two bytes for long mode).
Because of these different addressing modes, the target address range of the operands will
depend upon the addressing mode chosen:
Some instructions accept both long and short addressing modes, while others only accept one
or the other.
For example:
For ST7 instructions supporting both short and long formats, when external symbols are
referenced, long mode is chosen by the Assembler. For example:
2.4
Inherent addressing mode
This concept is hardware-oriented, meaning that instruction operands are coded inside the
operation code. At the source coding level, operands are written explicitly.
Examples:
lab01
ld A,memory
; load accumulator A with memory contents
lab02
ld memory,A
; load memory location with A contents
ld X,A
; load X with accumulator contents
0-$FF
for short addressing mode
$100-$FFFF
for long addressing mode
lab10
add
A,memory
; accepts both types of addressing modes
lab11
inc
memory
;
accepts only short addressing mode
EXTERN symb3
;
symb1
equ
$10
;
...
ld
A,symb1
; short mode
ld
A,symb3
; long mode chosen
lab06
push
A
; put accumulator A onto the stack
lab07
mul
X,A
; multiply X by A



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