www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/20/12:02:43

Date: Thu, 19 Feb 1998 11:58:17 +0100
From: kama AT hippo DOT fido DOT de (Karl Heinz Marbaise)
Subject: Re: assigning the correct adress?
Message-ID: <MSGID_242=3A1000=2F1.18_4df02a1c@Fido.DE>
References: <34e9a8df DOT 2317141 AT news DOT rug DOT nl>
Newsgroups: comp.os.msdos.djgpp
Organization: Fido.DE domain gateway (IN e.V.)
Lines: 18
MIME-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

DR> ptr_TMP_l = & (byte) reg_TMP;
DR> ptr_TMP_h = & (byte) reg_TMP + 1;
Try this:
ptr_TMP_l = (byte *) &reg_TMP;
ptr_TMP_h = (byte *) &reg_TMP + 1;

Within the last one you may be have to use parentheses,
like this:
ptr_TMP_h = ((byte *) &reg_TMP) + 1;
I'm not sure(try it).

DR> Donnie Roos.
Kind regards
  Karl Heinz Marbaise


 Fidonet: 2:2452/110.18
Internet: kama AT hippo DOT fido DOT de

- Raw text -


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