??? 05/12/07 20:32 Read: times |
#139140 - Similar Responding to: ???'s previous message |
Jan said:
This is the same as one of Mehdi's isn't it? Sort of, but not exactly. If a backspace occurs as the first character, the pointer in R0 is decremented to the byte just before the buffer starts. In that case, the cjne branch is taken to LoopReceive, leaving R0 pointing outside the buffer. Additional backspaces would then continue to decrement R0, moving it farther and farther ahead of the buffer. -- Russ |