Hi all,

I want to read PORTB (0 to 7) that is attached to HCTL-2016 Quad IC.The problem is when i try to read port,i got syntax error.Or maybe i forgot how it should be done?...Please help.Below is the code:


ENCODER_THISL.LOWBYTE,[PORTB]

..then some codes....

ENCODER_THISL.HighBYTE,[PORTB]


Is this how it should be done?.I still remember this (<<) must be used but not sure...darn it!...