You can define variables as follows.
Creating a variable to hold an address.
base=$C000
This will give `base` the value of $C000
You can the use base for loading/saving ect. lda base same as lda $C000 sta base,x same as sta $C000,x inc base same as inc $C000
You can give a variable any of the following type. base=53280 Decimal base=123 base=$C000 Hex base=$c0 base=%11110000 8 bit binary value base=%0000000011111111 16 bit binary value
Also can be used as. getkey=$ffe4 rom routine loop jsr getkey beq loop rts
The following are all treaded as immidiate values. base="A" ascii char base=`A` Cbm Screen Display code base=#123 immidiate decimal base=#$05 immidiate hex base=#%11001100 immidiate binary