help convert 32-bit to 16-bit

From: Paul (spamtrap_at_crayne.org)
Date: 11/03/04


Date: Wed, 3 Nov 2004 00:51:55 +0000 (UTC)

Hi folks,

How do I code the following 32-bit instruction in 16-bit mode?

mov eax,0e5555h ; if eax was 0ff000000h , now it's 000e5555h

I believe this requires two regs and there's ceratain rules about which
can be used for this purpose.
Maybe someone can enlighten me :)

thanks



Relevant Pages

  • Re: help convert 32-bit to 16-bit
    ... | How do I code the following 32-bit instruction in 16-bit mode? ... mov eax,0e5555h ...
    (comp.lang.asm.x86)
  • Re: help convert 32-bit to 16-bit
    ... you can pick two registers you aren't using (it is common to use DX and AX ... > I believe this requires two regs and there's ceratain rules about which ... > can be used for this purpose. ...
    (comp.lang.asm.x86)
  • [PATCH] PPC Emulate obsolete instructions
    ... SIGTRAP after emulating an instruction if single-stepping is enabled. ... /* Illegal instruction emulation support. ... static int emulate_instruction(struct pt_regs *regs) ... void SingleStepException ...
    (Linux-Kernel)
  • Re: Why not XML based configurationfiles?
    ... Alexander Skwar ... die_if_kernel("Penguin instruction from Penguin mode??!?!", regs); ...
    (comp.os.linux.misc)