if i use the highbyte and lowbyte like this:
a VAR BYTE
b VAR BYTE
c VAR WORD
d VAR WORD
c = 15334
a = c.lowbyte
b = c.highbyte
d = ?
Then i want to get the word back from A and B into D.
How do i do that?
if i use the highbyte and lowbyte like this:
a VAR BYTE
b VAR BYTE
c VAR WORD
d VAR WORD
c = 15334
a = c.lowbyte
b = c.highbyte
d = ?
Then i want to get the word back from A and B into D.
How do i do that?
I would have thought half the folks reading this thread would have replied... just reverse what you've already done... using your example...
d.lowbyte=a
d.highbyte=b
Using your example d would now equal 15334.
Melanie
Bookmarks