First dara element
Cjurrent largest value
Subtract for compari&on C
Tracę 10 (hexadecimal) steps
cozmoEiii a=oo g=osoo h=oizt'5=0100 p=oioo moi b*ob
COZlflOElIl fl-00 6=0000 D?0DOO H=M2l 5=0100 P=010Z MOI C*00
cozinoEiri a=oo B=oHtfo D=o#fo h=oila 5=0100 p-0107 mdm AjM
COZlflOElIl A-OZJ^BOOIOrfOOOO H-0119 5=0100 P-010S SUB C COZOflOEOI 1 fl^S2)B=Og!005D=0000 H=0119 5=0100 P=0109 JNC 010D
COZOflOEOIl |
ft-02 |
B=0B0Q |
□=0000 H-0119 |
5=0100 |
P=010D |
INF |
H |
COZOfłOEOIl |
A=02 |
B=OBOO |
D=0000 H-Ollfl |
5=0100 |
P=010E Dflff |
B | |
CDZOMOEOIl |
ń-02 |
B=O7O0 |
D=0000 H=011fl |
5=0100 |
P=010F |
m |
0107 |
COZOMOEOI1 |
A-02 |
B-0700 |
D-0000 H=01lA |
B=0100 |
P-0107 |
rhi |
AiM |
C0Z0M0E0I1 |
A=00 |
B=0700 |
D=0000 H-Ollfl |
B=0100 |
P=010B |
GUB |
C |
COZIMOEIII |
ń=oo |
B=0700 |
D=DODO H=011A |
5=0100 |
P=0105 |
Luz |
010D |
COZIMOEIII |
A=00 |
B-0700 |
0=0000 H-Ollń |
S=0100 |
P-010DJ |
INK |
H |
COZIMOEIII |
A=oo |
6=0700 |
D=OQOO H=011B |
5=0100 |
P=O1O0 |
DCP |
6 |
COZ0M0E111 |
A=00 |
B-0600 |
D-0000 H-011B |
S-0100 |
p-oior |
JNZ |
0107 |
C020M0E1I1 |
A=O0 |
6=0500 |
Ds0000 H=011D |
5*0100 |
P*01® |
m |
AłH#0108 |
-MS/
Program shoułd have moved the vaJue from A into C sińce A>C, Since this codę was not executed it appears that the JNC should have been a JC instruction
Insert a “hot patch” into the machinę codę 0109 JC 1 OD tochangethe JNC to JC
010C/
Stop DDT so that a version of -GO/ the patched program can be &aved
ft>5AVE 1 SCAN.COM/ Program resides on first page, so save 1 page.
f\>DDT SCAN,COM/
^"■-Restart DDT with the save memory DDT YER 1.0 image to continue testing
WEXT PC 0200 0100