công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

UM0144 bảng dữ liệu(PDF) 65 Page - STMicroelectronics

tên linh kiện UM0144
Giải thích chi tiết về linh kiện  ST7 Assembler Linker
PDF  92 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0144 bảng dữ liệu(HTML) 65 Page - STMicroelectronics

Back Button UM0144 Datasheet HTML 61Page - STMicroelectronics UM0144 Datasheet HTML 62Page - STMicroelectronics UM0144 Datasheet HTML 63Page - STMicroelectronics UM0144 Datasheet HTML 64Page - STMicroelectronics UM0144 Datasheet HTML 65Page - STMicroelectronics UM0144 Datasheet HTML 66Page - STMicroelectronics UM0144 Datasheet HTML 67Page - STMicroelectronics UM0144 Datasheet HTML 68Page - STMicroelectronics UM0144 Datasheet HTML 69Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 65 / 92 page
background image
ST7 Assembler Linker
UM0144
65/92
A.36
LOCAL
A.37
LONG
Purpose:
Define labels as local to macro.
Format:
LOCAL <arg>
Description:
A macro that generates loop code gives rise to an assembly problem since the loop
label would be defined as many times as the macro is called. The LOCAL directive
enables you to overcome this difficulty.
Consider the following piece of code:
waiter MACRO ads
loop
ld A,ads
jrne loop
MEND
If this macro is called twice, you will be creating two labels called 'loop'. The answer
is to declare very early in the MACRO all labels created by the macro as LOCAL.
This has the effect of replacing the actual name of a local label (here 'loop') with
LOCXXXX where XXXX starts from 0 and increments each time a local label is
used. This provides each occurrence of the labels created inside the macro with a
unique identity.
Example:
See Also:
MACRO, MEND
Purpose:
Define long word in object code.
Format:
LONG <exp>[,<exp>...]
Description:
This directive forces the long word(s) in its argument list into the object code at the
current address. The arguments may be composed of complex expressions, which
may even include external labels. If the argument was an expression and had a
value greater than FFFFFFFF then the 32 bits of the expression are used and no
errors are generated. LONG sends long words with the least significant byte first.
It's generally used for defining data tables. Synonymous with DC.L, except that
LONG sends the low-byte first.
Example:
See Also:
DC.B, DC.L, DC.W, BYTE, STRING, WORD
waiter MACRO ads
LOCAL loop
loop
led Aids
drone loop
MEND
DC.L 1,$12345678
; 0000,0001,1234,5678
LONG 1,$12345678
; 0100,0000,7856,3421



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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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