delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/18/03:52:52

From: "Iliyan Jeliazkov" <iliyanjeliazkov AT unn DOT unisys DOT com>
To: d DOT roos AT st DOT hanze DOT nl (Donnie Roos)
cc: djgpp AT delorie DOT com
Message-ID: <002565AF.0030CCF5.00@BBFIRST.BB.UNISYS.COM>
Date: Wed, 18 Feb 1998 08:55:02 +0000
Subject: Re: assigning the correct adress?
Mime-Version: 1.0

try it like this:

word TMP;
byte *ptr_TMP_l, *ptr_TMP_h;
ptr_TMP_l = (byte*) &TMP;
ptr_TMP_h = ((byte*) &TMP) + 1;

(suppose reg_TMP was the same as TMP ?)



- Raw text -


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