Mail Archives: djgpp/1999/01/01/16:31:52
Christian Hofrichter (ChristianHofrichter AT gmx DOT de) wrote:
: I can get access to the 8 lower bits of the accumulator-register with
: al, to the 16 lower bits of the accumulator-register with ax and to the
: whole register with eax.
: But how can I get access to 16 or 8 higher bits of, let's say, eax ?
I don't think the x86 architecture supports this.
: If this is not possible are there tricks to do that. (bit operations
: like "and" or "or" or "xor") ?
: The problem is that I must move the value in ah_lo (bits 8-16) to
: al_hi(bits 16-24)iand the value in al_hi to ah_lo.
>>, <<, & and |?
Holmboe, Symphony No. 5,
MartinS
- Raw text -