The Asm-86 Listing For The No-Bug Version Of The Change Maker Program - Intel l2ICE User Manual

Integrated instrumentation and in-circuit emulation system
Table of Contents

Advertisement

The ASM-86 Listing for the No-Bug Version of the
Change Maker Program
The ASM-86 language listing for the change maker program was obtained by compiling the
corrected version of the PL/M program using the CODE option. It is recommended that the
compilation be done using OPTIMIZE(O) when debugging. In the assembly listing, notice the
statement numbers at the right. The numbers reference the lines in the PL/M program list file.
On the tutorial disk, this list file of corrected code is called CMKERO.LST.
Note that the compiler was invoked by the following command:
PLM8&86 CMKERN.SRC COMPACT OPTIMIZE(O) DEBUG CODE
00D8
55
00D9
8BEC
OODB
E401
OODD
88061E00
00E1
803E1E000D
00E6
7403
00E8
E90C00
OOEB
B80000
OOEE
1E
OOEF
50
00 FO
B80100
00F3
50
00F4
E81200
00F7
B81E00
OOFA
1E
OOFB
50
OOFC
B80100
OOFF
50
0100
E80600
0103
8A061E00
0107
5D
0108
C3
Guide to
the PICE™ System Tutorial
ASSEMBLY LISTING OF OBJECT CODE
READ
PUSH
BP
MOV
BP,SP
IN
1H
MOV
CHAR,AL
CMP
CHAR,0DH
JZ
$ + 5H
JMP
@1
MOV
AX,OFFSET(LF_CR)
PUSH
DS
PUSH
AX
MOV
AX.1H
A v
PUSH
CALL
WRITE
@1:
MOV
AX,OFFSET(CHAR)
PUSH
DS
PUSH
AX
MOV
AX,1 H
A Y
PUSH
CALL
WRITE
MOV
AL,CHAR
POP
BP
RET
READ
WRITE
PROC NEAR
ENDP
PROC NEAR
STATEMENT # 3
STATEMENT # 5
STATEMENT # 6
STATEMENT # 7
1
2
3
STATEMENT # 8
1
2
3
STATEMENT # 9
STATEMENT #10
STATEMENT# 11
2 - 2 1

Advertisement

Table of Contents
loading

Table of Contents