??? 11/15/05 00:07 Read: times |
#103727 - in same sub Responding to: ???'s previous message |
Well what I was asking in the post before this one was
if I pushed, then popped the same amount of bytes within the same specific subroutine. I'm just trying to figure out a way to treat the incoming response from the card, as each command may have a different number of bytes to respond with, and the stack seemed to be the best option. |
Topic | Author | Date |
Stack pointer causing code to loop? | 01/01/70 00:00 | |
Try using a simulator | 01/01/70 00:00 | |
declaring variables | 01/01/70 00:00 | |
careful | 01/01/70 00:00 | |
push and pull | 01/01/70 00:00 | |
Correct | 01/01/70 00:00 | |
ah.. so if I change... | 01/01/70 00:00 | |
Uh, no | 01/01/70 00:00 | |
in same sub | 01/01/70 00:00 | |
Try a Ring Buffer | 01/01/70 00:00 | |
code changed so push/pops in same sub![]() | 01/01/70 00:00 |