The code is using macros. I believe MS Basic for the 6502 was written with Macro-10 assembler. You can find the manual here: https://bitsavers.org/pdf/dec/pdp10/TOPS10/1973_Assembly_Language_Handbook/02_1973AsmRef_macro.pdf . Review page 261+ (Chapter 3.3) for the syntax of macro definitions.