delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/05/07:40:12

Message-ID: <3618B080.ED38C4C@cdworld.co.uk>
From: Craig Rothwell <craig AT cdworld DOT co DOT uk>
Reply-To: craig AT cdworld DOT co DOT uk
Organization: www.CDworld.co.uk
X-Mailer: Mozilla 4.04 [en] (Win95; I)
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: converting 2 numbers into one
Lines: 22
Date: Mon, 05 Oct 1998 12:41:52 +0100
NNTP-Posting-Host: 195.102.195.15
X-Complaints-To: news AT u-net DOT net
X-Trace: newsr2.u-net.net 907587456 195.102.195.15 (Mon, 05 Oct 1998 12:37:36 BST)
NNTP-Posting-Date: Mon, 05 Oct 1998 12:37:36 BST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

how can I join 2 sets of binary
to make one?

eg:

turn '11111111' and '00000000'
(as 2 variables)

into '1111111100000000'? (as one
variable)

A bit like using the Z80's HL
register, where you could treat
each variable seprate but also
as one big number. And please
don't bother to email answers
like 'Work it out yourself' I've
tried. I would not be asking if
I could do it.



- Raw text -


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