LILO jump/retf question

Andrzej Kardas andrzej-kardas at o2.pl
Sat Mar 12 16:03:36 EST 2011


Hi,

I have been exploring  lilo bootloader last days, and i have a question:

There is piece of code in file bootsect.S like this:

;       jmpi    go,INITSEG         ; this line is commented out
         push    es
         push    #go
         retf

i wonder if are there any benefits of replacing line

jmpi    go,INITSEG  ; which, i think is more readable

by

push    es
push    #go
retf

besides to make people confused?

--
regards
Andrzej Kardas
http://www.linux.mynotes.pl








More information about the Kernelnewbies mailing list