pettil
pettil copied to clipboard
Improved toggle ?
Charlie, are we allowed to trick stackh into holding the full address temporarily to save six bytes?
toggle
lda stackl,x
sta stackh-1,x
lda (stackh-1,x)
eor tos
sta (stackh-1,x)
jmp twodrop
It seems to me that as long as you don't execute FORTH inside your interrupt handlers, you could get away with it.