aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhpa <hpa>2002-06-01 07:51:40 +0000
committerhpa <hpa>2002-06-01 07:51:40 +0000
commit5823e4914a21a2aecb58345716f851407612d63e (patch)
tree98db76b1e50fe65f3867452601712603c22dcc11
parent3c05323825dc8d503f2c4cd3f8b68392114a8498 (diff)
downloadsyslinux-5823e4914a21a2aecb58345716f851407612d63e.tar.gz
syslinux-5823e4914a21a2aecb58345716f851407612d63e.tar.xz
syslinux-5823e4914a21a2aecb58345716f851407612d63e.zip
If ClustSize is a dword we might as well use it as such...syslinux-1.74
-rw-r--r--loadhigh.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/loadhigh.inc b/loadhigh.inc
index a7757a7a..d437330c 100644
--- a/loadhigh.inc
+++ b/loadhigh.inc
@@ -56,8 +56,7 @@ load_high:
.size_ok:
xor edx,edx
push eax ; <B> Bytes transferred this chunk
- movzx ecx,word [ClustSize]
- div ecx ; Convert to clusters
+ div dword [ClustSize] ; Convert to clusters
; Round up...
add edx,byte -1 ; Sets CF if EDX >= 1
adc eax,byte 0 ; Add 1 to EAX if CF set