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 Ĵ Ĵ Ĵ
|
+3 +3 | +3 +3
|
Ĵ Ĵ Ĵ Ĵ
| |
+2 +2 | +2 +2 |
| |
Ĵ Ĵ Ĵ Ĵ
|
+1 +1 | +1 +1
|
Ĵ Ĵ Ĵ Ĵ
|L | |L |L
+0 |S +0 | +0 |S +0 |S
|B | |F |F

7 0 7 0 7 0 7 0
. . .
 
S: S:
MSB/LSB: / MSE/LSE: /
MSD/LSD: / MSF/LSF: /
(X): I:
A
. 7.2 8087

Microsoft (R) Macro Assembler Version 5.00 1/1/80 04:03:56
. 7.3 8087 Page 1-1
 
 
PAGE ,132
TITLE . 7.3 8087
 
0000 CODE SEGMENT
 
0000 04D2 WORD DW 1234
7_3.ASM(6): warning A4016: Reserved word used as symbol: WORD
0002 FB2E DW -1234
 
0004 40E20100 SHORT_INTEGER DD 123456
0008 C01DFEFF DD -123456
 
000C D202964900000000 LONG_INTEGER DQ 1234567890
0014 2EFD69B6FFFFFFFF DQ -1234567890
001C ???????????????? DQ ?
0024 78563412907856341200 PACKED_BCD DT 00123456789012345678H
002E 78563412907856341280 DT 80123456789012345678H ;
0038 0002[ DT 2 DUP (?)
???????????????
?????
]
 
004C CODE ENDS
END
 
. 7.3 8087
 
,
H, , - .
.
"-",
, H.
20 .
80, ,
. , -1234
, :
 
DT 80000000000000001234H
 
. 7.3 ,

.