[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: can somebody explain file boot/i386/pc/boot.S
From: |
Bill Marcum |
Subject: |
Re: can somebody explain file boot/i386/pc/boot.S |
Date: |
Sat, 16 Oct 2010 18:00:49 -0400 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Fri, Oct 15, 2010 at 10:59:38PM +0100, Piscium wrote:
> 2010/10/13 Dennis Cao <address@hidden>:
> > HI guys,
> > I am really interested in grub. So i dig into the source code a bit. I
> > find that the boot program is written in AT&T assembly.
>
> AT&T?? I am not sure where you got that. i386 is an Intel
> architecture, also used by AMD and a few others. So search the Intel
> or AMD websites for manuals on CPUs of the i386 family and you will
> find complete descriptions of the language. Mind you, they are big
> manuals, with hundreds of pages, good to read before going to sleep!
>
The architecture may be i386, but the assembler syntax can be either Intel
or AT&T (I haven't actually looked at the grub source code). The gas
assembler uses AT&T syntax by default, most other assemblers use Intel.
--
At this point I will include a picture, because our search engine
optimisation experts have determined that humans are incapable of reading
more than 400 words without one.