boot32: save another byte, use loop instruction

This commit is contained in:
E. C. Masloch 2024-01-19 21:58:00 +01:00 committed by Kenneth J Davis
parent 3415ad93c9
commit 630735e14a

View File

@ -236,8 +236,7 @@ next_cluster:
cn_loop: cn_loop:
shr dx,1 shr dx,1
rcr ax,1 rcr ax,1
dec cx loop cn_loop ; DX:AX fat sector where our
jnz cn_loop ; DX:AX fat sector where our
; cluster resides ; cluster resides
; DI - cluster index in this ; DI - cluster index in this
; sector ; sector