From: H. Peter Anvin Date: Mon, 30 Mar 2009 20:37:09 +0000 (-0700) Subject: memdisk: Int13FuncsCnt is a constant, not a memory location X-Git-Tag: syslinux-3.74-pre14~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d694ce6fdb18e9c74efd56626fbc345a5810c0db;p=profile%2Fivi%2Fsyslinux.git memdisk: Int13FuncsCnt is a constant, not a memory location Impact: bug fix Int13FuncsCnt is a compile-time constant, not a memory location. This is a rather important distinction. --- diff --git a/memdisk/memdisk.inc b/memdisk/memdisk.inc index 0df6c77..d53b778 100644 --- a/memdisk/memdisk.inc +++ b/memdisk/memdisk.inc @@ -151,7 +151,7 @@ Int13Start: mov bp,sp ; Point BP to the entry stack frame TRACER 'F' ; Note: AH == P_AH here - cmp ah,[Int13FuncsCnt-1] + cmp ah,Int13FuncsCnt-1 ja Invalid_jump xor al,al ; AL = 0 is standard entry condition mov di,ax