"Jan Kok" <[EMAIL PROTECTED]> writes:

> Hi Guys,
> 
> Can someone explain why the disassembly of crt0.o shown below doesn't
> match the cpp code in crt0.s?  In particular, the subw isn't shown in
> the disassembly, the data32 turns into data16, and so on.
> 
> Have I got a bad version of assembler?

I would say most likely it is because the first chunk of crt0.s is for
a processor running in 16 bit mode.  ndisasm can be useful for looking
at actual binaries.

But it looks like a standard 16 bit/32bit confusion.  After the code from
entry16.inc everything should be in 32bit assembly so it shouldn't be hard
to verify.

Eric

Reply via email to