added stack
This commit is contained in:
parent
63d5b3448f
commit
fc0c680930
1 changed files with 2 additions and 2 deletions
|
|
@ -4,9 +4,9 @@ stack START 0
|
|||
|
||||
LDA #9
|
||||
STA @stackptr
|
||||
JSUB stackpush . PUSHA
|
||||
JSUB stackpush
|
||||
|
||||
JSUB stackpop . POPA
|
||||
JSUB stackpop
|
||||
LDA @stackptr
|
||||
|
||||
halt J halt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue