[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Failed to build grub2

From: Robert Millan
Subject: Re: Failed to build grub2
Date: Thu, 27 Dec 2007 10:57:05 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

On Wed, Dec 26, 2007 at 07:13:22PM +0800, Bean wrote:
> It's a trick to do fast arithmetic using the 32-bit address mode, for example,
> leal    10 (%ebx, %eax, 4) , %ecx
> means
> %ecx = %ebx + %eax * 4 + 10

Reminds me again why the i386 instruction set is such a big joke ;-)

> But some assembler might not allow to use 32-bit address in 16-bit
> mode, so you can follow the slow path, for example,

Why not force it with .code32 / .code16 ?

Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]