??? 05/11/07 16:09 Read: times |
#139066 - Hi Jan! Responding to: ???'s previous message |
1)- There isn't any control for maximum value of R0
dec r0 ;if BackSpace, eat last character from buffer cjne r0,#ReceiveBuffer,LoopReceive inc r0 ;if start of buffer, undo the backspace 2)- In this case when R0 decrements And reaches to ReceiveBuffer it is loaded to ReceiveBuffer+1 So ReceiveBuffer location haven't any valuable data! |