Skip to content

Commit aaaddb1

Browse files
committed
optromloader.asm: Comment on why ES needs to be initialized to zero.
1 parent f7cf97c commit aaaddb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

optromloader.asm

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ start:
2929
mov sp,$7C00 ;set a stack right under the bootloader
3030
sti ;re-enable interrupts from 8086/86 workaround
3131
mov ds,ax ;DS can't be trusted either
32-
mov es,ax ;ES isn't any more trustworthy
32+
mov es,ax ;ES isn't any more trustworthy, and is used by readblock below
3333
mov si,banner_str
3434
call printstr
3535
;*** Load first block of ROM image (containing ROM header)

0 commit comments

Comments
 (0)