Queue/Usage: Difference between revisions

Content added Content deleted
Line 132: Line 132:


===PUSH,POP,PUSH===
===PUSH,POP,PUSH===
This example shows that once an item leaves the queue, the "ghost" of the last item in line gets overwritten with the next item to join.
<lang 6502asm>define temp $00
<lang 6502asm>define temp $00
define queueEmpty $FD
define queueEmpty $FD