Re: 387 emulator hack - mutant AAD trick - any objections?

From: cutaway
Date: Fri May 27 2005 - 01:54:39 EST


Brain fade...example should be:

1) Start with AX = 0x0023
2) Execute AAM instruction
3) Now AX = 0x0305 (unpacked BCD)
4) Execute base 16 AAD instruction
5) Now AX = 0x0035 (packed BCD)

----- Original Message ----- >
> 1) Start with AX = 0x0023
> 2) Execute AAM instruction
> 3) Now AX = 0x0203 (unpacked BCD)
> 4) Execute base 16 AAD instruction
> 5) Now AX = 0x0023 (packed BCD)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/