PDA

View Full Version : Inverting a Word & Assigning Array To Bytes



CocaColaKid
- 23rd August 2005, 22:38
Is there another way of doing these commands?



raw_temp.Byte0 = dq[0]
raw_temp.Byte1 = dq[1]

raw_temp.Byte0 = raw_temp.Byte0 ^ 255
raw_temp.Byte1 = raw_temp.Byte1 ^ 255

Darrel Taylor
- 23rd August 2005, 22:59
@dqWord = dq
dqWord VAR WORD EXT

raw_temp = ~dqWord

Darrel Taylor
- 25th August 2005, 22:39
Hmmm,

No Comments ??

No Questions ??
<br>

mister_e
- 25th August 2005, 23:42
...............

mister_e
- 25th August 2005, 23:44
I guess it's another case where CTRL+C, CTRL+V apply

No why, just because !!!

<img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=444&stc=1">