A83: Using labelled .db's and .dw's as variables


[Prev][Next][Index][Thread]

A83: Using labelled .db's and .dw's as variables




Couldn't you do this:

Program...

variableA	.db $00
variableB	.dw $0000
...

And in that way not effect any memory other than the memory in the
program running area (Whatever you call it). Is there some reason why
you shouldn't do this. The only downside is the fact that the program
itself increases as you add variables. Depending on the situation
wouldn't this be the best way to use variables.

-- 
Scott Dial
revenant_1@hotmail.com
ICQ#3608935