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

X  

STC89LE53RC bảng dữ liệu(PDF) 144 Page - STCmicro Technology Co,.Ltd

tên linh kiện STC89LE53RC
Giải thích chi tiết về linh kiện  Enhanced 80C51 Central Processing Unit ,6T or 12T per machine cycle
PDF  165 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STC [STCmicro Technology Co,.Ltd]
Trang chủ  http://www.stcmicro.com/
Logo STC - STCmicro Technology Co,.Ltd

STC89LE53RC bảng dữ liệu(HTML) 144 Page - STCmicro Technology Co,.Ltd

Back Button STC89LE53RC Datasheet HTML 140Page - STCmicro Technology Co,.Ltd STC89LE53RC Datasheet HTML 141Page - STCmicro Technology Co,.Ltd STC89LE53RC Datasheet HTML 142Page - STCmicro Technology Co,.Ltd STC89LE53RC Datasheet HTML 143Page - STCmicro Technology Co,.Ltd STC89LE53RC Datasheet HTML 144Page - STCmicro Technology Co,.Ltd STC89LE53RC Datasheet HTML 145Page - STCmicro Technology Co,.Ltd STC89LE53RC Datasheet HTML 146Page - STCmicro Technology Co,.Ltd STC89LE53RC Datasheet HTML 147Page - STCmicro Technology Co,.Ltd STC89LE53RC Datasheet HTML 148Page - STCmicro Technology Co,.Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 144 / 165 page
background image
The DATA, IDATA, XDATA, BIT, and CODE directives assign addresses of the corresponding segment
type to a symbol. These directives are not essential. A similar effect can be achieved using the EQU directive; if
used, however, they evoke powerful type-checking by ASM51. Consider the following two directives and four
instructions:
FLAG1
EQU
05H
FLAG2
BIT
05H
SETB
FLAG1
SETB
FLAG2
MOV
FLAG1, #0
MOV
FLAG2, #0
The use of FLAG2 in the last instruction in this sequence will generate a "data segment address expected" error
message from ASM51. Since FLAG2 is defined as a bit address (using the BIT directive), it can be used in a set
bit instruction, but it cannot be used in a move byte instruction. Hence, the error. Even though FLAG1 represents
the same value (05H), it was defined using EQU and does not have an associated address space. This is not an
advantage of EQU, but rather, a disadvantage. By properly defining address symbols for use in a specific memory
space (using the directives BIT, DATA, XDATA,ect.), the programmer takes advantage of ASM51's powerful
type-checking and avoids bugs from the misuse of symbols.
Storage Initialization/Reservation
The storage initialization and reservation directives initialize and reserve space in either word, byte, or bit units.
The space reserved starts at the location indicated by the current value of the location counter in the currently
active segment. These directives may be preceded by a label. The storage initialization/reservation directives are
described below.
DS (Define Storage)
The format for the DS (define storage) directive is
[label:]
DS
expression
The DS directive reserves space in byte units. It can be used in any segment type except BIT. The expression
must be a valid assemble-time expression with no forward references and no relocatable or external references.
When a DS statement is encountered in a program, the location counter of the current segment is incremented by
the value of the expression. The sum of the location counter and the specified expression should not exceed the
limitations of the current address space.
The following statement create a 40-byte buffer in the internal data segment:
DSEG
AT
30H
;PUT IN DATA SEGMENT (ABSOLUTE, INTERNAL)
LENGTH
EQU
40
BUFFER:
DS
LENGRH
;40 BYTES RESERVED
The label BUFFER represents the address of the first location of reserved memory. For this example, the buffer
begins at address 30H because "AT 30H" is specified with DSEG. The buffer could be cleared using the following
instruction sequence:
MOV
R7, #LENGTH
MOV
R0, #BUFFER
LOOP:
MOV
@R0, #0
DJNZ
R7, LOOP
(continue)
144



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 93 94 95 96 97 98 99 100  ...More


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