mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-05 20:30:56 +11:00
d8d2e05eb2
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,
|
|
|