
find is the biggest chunk of logic of the boot code. The 8086 version is significantly terser than the z80 one. REP/CMPS helps...
7 lines
138 B
Plaintext
7 lines
138 B
Plaintext
( find cont. )
|
|
DI DECx, DI DECx, AX [DI] MOVx[], ( prev )
|
|
AX AX ORxx,
|
|
JNZ, AGAIN, ( loop )
|
|
AX INCx, ( NZ ) RETn,
|
|
|