Electronic Components Datasheet Search
  English  ▼

X  

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

Back Button UM0144 Datasheet HTML 17Page - STMicroelectronics UM0144 Datasheet HTML 18Page - STMicroelectronics UM0144 Datasheet HTML 19Page - STMicroelectronics UM0144 Datasheet HTML 20Page - STMicroelectronics UM0144 Datasheet HTML 21Page - STMicroelectronics UM0144 Datasheet HTML 22Page - STMicroelectronics UM0144 Datasheet HTML 23Page - STMicroelectronics UM0144 Datasheet HTML 24Page - STMicroelectronics UM0144 Datasheet HTML 25Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 21 / 92 page
background image
ST7 Assembler Linker
3 ST7 Assembler
UM0144
21/92
Operator names longer than one character must be followed by a space character. For
example, '1 AND 2' is correct, '1AND2' is not.
Place the curly braces { } around arithmetic expressions.
Also, always use curly braces at the top-level, when defining a numeric expression. Not doing
so may produce unexpected results.
3.3.4
Comments
Comments are preceded by a semicolon. Characters following a semicolon are ignored by the
assembler.
3.3.5
A source code example
Below is an example of a short source code.
Table 7.
Level 4 operators
Operation
Result, level #4
a-b
a minus b
a+b
a plus b
Wrong syntax:
#define SIZE 128
DS.W SIZE+1
; Wrong, syntax error
#IF SIZE eq 1
; Wrong, same as #IF SIZE
#ENDIF
Correct syntax:
#define SIZE 128
DS.W {SIZE+1}
; OK
#IF {SIZE eq 1}
; OK
#ENDIF
st7/
; small example module showing source formats
ioport
equ $8000
; 8 bit I0 port A
handshake
equ $9000
; write xx here to strobe
segment 'program'
start
ld a,#0
; zero counter
loop
ld ioport,x
; store into ioport



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