www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/22/17:31:58

To: djgpp AT delorie DOT com
Subject: Re: 32 bit registers
Message-ID: <19961223.141255.8279.1.chambersb@juno.com>
References: <59cs4f$58k AT nr1 DOT ottawa DOT istar DOT net> <19961221 DOT 171924 DOT 8327 DOT 0 DOT chambersb AT juno DOT com>
<32BD006E DOT 17E2 AT gbrmpa DOT gov DOT au>
From: chambersb AT juno DOT com (Benjamin D Chambers)
Date: Sun, 22 Dec 1996 17:08:55 EST

On Sun, 22 Dec 1996 17:33:35 +0800 Leath Muller <leathm AT gbrmpa DOT gov DOT au>
writes:
>> Except that the high word is left untouched.
>> BTW, is it possible to load a value into the high word of a 32bit
>> register? (cross my fingers... :)
>
>I don't think so... :(  But you could use the swap assem insruction
>to sort of 'emulate' this...
>
>Leathal.
>

What is the 'swap' command?  The closest I've heard of is xchg - but you
still couldn't target the high word and low word of a 32bit reg, since
the high word can't be targeted.

...Chambers

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019