Recently I was inquiring about getting specific strings, and was shown the EQU opcode. It works like a charm for the purpose I needed.
To extend the question, though, does anyone know of the proper syntax, or if it's even possible, to get a variable value for an EQU? What I mean is something like this (this is not any sort of real code, just to demonstrate the desired result)
Code: Select all
SOME_CONSTANT EQU whatever_
SOME_CONSTANT_2 = $00
SOME_CONSTANT_3 EQU _thing
value = #SOME_CONSTANT + SOME_CONSTANT_2 + #SOME_CONSTANT_3
;;; to where value would then be whatever_00_thing
Any advice? It's totally a *want* and not a *need*, but it would make some things cleaner for me