O.K. So How your data is send? I mean... when you send 100 is this the numeric expression 1,0,0 or the ASCII character (wich is "d")?
can your try
Serin PORTA.0,2,#VARB0
What are you using to send your data? Hyperterminal? MCS serial communicator or else?
4 MHZ crystal is maybe not enough... look in the SERIN/SEROUT section... there's some warning on that. DEBUGIN should work better and provide a wider 'modifier' range.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks