From 0819bf058b63470366ac8fbd532c4457c002c86d Mon Sep 17 00:00:00 2001 From: hpa Date: Sun, 28 Apr 2002 06:00:42 +0000 Subject: Save a few bytes... --- runkernel.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'runkernel.inc') 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] -- cgit v1.2.1