aboutsummaryrefslogtreecommitdiffstats
path: root/core/bootsect.inc
diff options
context:
space:
mode:
Diffstat (limited to 'core/bootsect.inc')
-rw-r--r--core/bootsect.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/bootsect.inc b/core/bootsect.inc
index 2daa6e7d..515f1f5e 100644
--- a/core/bootsect.inc
+++ b/core/bootsect.inc
@@ -160,9 +160,8 @@ replace_bootstrap:
; Terminating entry...
lea eax,[di+12]
stosd
- mov ax,1 ; EAX[31:16] == 0 already
+ xor ax,ax ; EAX[31:16] == 0 already
stosd ; Real mode
- dec ax
stosd ; End of list
; Copy the stub