diff options
author | hpa <hpa> | 2002-04-28 06:00:42 +0000 |
---|---|---|
committer | hpa <hpa> | 2002-04-28 06:00:42 +0000 |
commit | 0819bf058b63470366ac8fbd532c4457c002c86d (patch) | |
tree | f9ff541a1e6691ad105d56bf6e8c7ebca42b30b2 /runkernel.inc | |
parent | bdb0fcf1acccec785084bfe0b3802d4674638b64 (diff) | |
download | syslinux-0819bf058b63470366ac8fbd532c4457c002c86d.tar.gz |
Save a few bytes...
Diffstat (limited to 'runkernel.inc')
-rw-r--r-- | runkernel.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runkernel.inc b/runkernel.inc index 165af987..b6feecdc 100644 --- a/runkernel.inc +++ b/runkernel.inc @@ -126,7 +126,8 @@ get_e820: mov edx, (1 << 20) sub edx, [E820Buf] jb .int_loop ; Start >= 1 MB? - mov eax, 0FFFFFFFFh + stc + sbb eax,eax ; eax <- 0xFFFFFFFF cmp dword [E820Buf+12], byte 0 ja .huge ; Size >= 4 GB mov eax, [E820Buf+8] |