Professional Documents
Culture Documents
UNIT-2-1 Notes For Ece
UNIT-2-1 Notes For Ece
ASSUME
DB - Defined Byte.
DD - Defined Double Word
DQ - Defined Quad Word
DT - Define Ten Bytes
DW - Define Word
.
j
1
.
j
2
.
j
3
.
j
4
.
j
5
.
j
6
.
j
7
.
j
8
.
j
9
Example:
DATA1SEGMENT
; Location counter will point to 0009 after assembler reads
;next statement
SALES DB 9 DUP(?) ;declare an array of 9 bytes
EVEN; increment location counter to 000AH
RECORD DW 100 DUP( 0 ) ;Array of 100 words will start
;from an even address for quicker read
DATA1ENDS
.
j
10
.
j
11
.
j
12
PROC- Procedure
PTR- Pointer
PUBLC
SEGMENT
SHORT
TYPE
.
j
13
.
j
14
15
.
j
16
17
.
j
18