Use the proper register when initializing a new ADV
authorH. Peter Anvin <hpa@zytor.com>
Mon, 7 Jan 2008 23:09:25 +0000 (15:09 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 7 Jan 2008 23:09:25 +0000 (15:09 -0800)
adv.inc

diff --git a/adv.inc b/adv.inc
index 807d1b5..989b4e0 100644 (file)
--- a/adv.inc
+++ b/adv.inc
@@ -98,7 +98,7 @@ adv_verify:
                jz .adv1ok
 
                ; Neither ADV is usable; initialize to blank
-               mov si,adv0
+               mov di,adv0
                mov eax,ADV_MAGIC1
                stosd
                mov eax,ADV_MAGIC2