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 /.) _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel