Duncan,
What I was thinking...
portA PORTB
% 00000000 / 00001000
<0> PORTB.0 <1>PORTB.1 .... <8>PORTA.0
Let's say that this is my word that Contains PORTA+PORTB that I have to check.
The followings are correct???
----------------------------------------------
w0 var word
L var byte
H var byte
L = PORTB
H = PORTA
w0.LowByte = L
w0.HighByte = H
If w0 > 1 then
I WILL READ THE w0
endif
---------------------------------------------------
Thanks
Nikos
Retsina,Summer,Sea and Sun
Bookmarks