mirror of
https://github.com/FDOS/kernel.git
synced 2025-07-21 12:54:30 +02:00
boot32: save another byte, use loop instruction
This commit is contained in:
parent
3415ad93c9
commit
630735e14a
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user