System information
0111 MVI B,08
0102 MVI C,00
0104 LXI H,0119
0107 MOV A,M
0108 SUB C <-- This should have been a CMP so that register A
0109 JC 010D would not be destroyed
010C MOV C,A
010D INX H
010E JNZ 0107
0112 MOV A,C
A108
0108 CPM C Hot pathc at 108H changes SUB to CMP
0109
-G0 Stop DDT for SAVE
A>SAVE 1 SCAN.COM Save memory image
DDT VER 1.0
NEVX PC
0200 0100
-XP
P=100
-L116
0116 RST 07
0117 NOP Look at code to see if it was properly loaded
0118 NOP (long typeout aborted with rubout)
0119 STAX B
011A NOP
-
-G,116 Run from 100 to completion
4.4 A Sample Program CP/M Operating System Manual
4-24