| delorie.com/archives/browse.cgi | search |
| From: | aho450s AT nic DOT smsu DOT edu (Tony O'Bryan) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: 32 bit registers |
| Date: | Sun, 22 Dec 1996 14:15:12 GMT |
| Organization: | Southwest Missouri State University |
| Lines: | 17 |
| Message-ID: | <32bd4200.10823417@ursa.smsu.edu> |
| References: | <59cs4f$58k AT nr1 DOT ottawa DOT istar DOT net> <19961221 DOT 171924 DOT 8327 DOT 0 DOT chambersb AT juno DOT com> |
| NNTP-Posting-Host: | forseti.i31.smsu.edu |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
On Sat, 21 Dec 1996 01:15:45 GMT, chambersb AT juno DOT com (Benjamin D
Chambers) wrote:
>BTW, is it possible to load a value into the high word of a 32bit
>register? (cross my fingers... :)
>
>..Chambers
Sure:
{
unsigned long Number1 = 0L;
unsigned short Number2 = 10;
Number1 |= Number2 << 16;
}
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |