Can you define constants in asm?

#define MYPHONENUMBER 6997777

And how do you if you can

Thanks Andy
Posted on 2002-03-09 21:30:45 by andy981
YourPhoneNumber EQU 9762358 ; this is number

MyPhoneNumber EQU <976-WETT> ; this is text

; these are both constant
; (ie re-definition is an error, unless it's the same, iirc)

; you can also check if they have been defined:
IFDEF YourPhoneNumber
MyPhoneNumber EQU 9761234

; you can also check if they have not been defined:
IFNDEF YourPhoneNumber
YourPhoneNumber EQU 9761234
Posted on 2002-03-09 21:57:45 by bitRAKE