on-internet
← Community

Definition of the DEFINE instruction used in the source for Microsoft BASIC

Stack Overflow ·

Does anyone know where I can find the definition of the DEFINE keyword/instruction used in the source code of the Microsoft BASIC interpreter released to the public by Microsoft here: https://github.com/microsoft/BASIC-M6502/blob/main/m6502.asm As an example the source code contains: DEFINE LDXY (WD),< LDX WD LDY <WD>+1> This might mean the defined symbol LDXY with the parameter (WD) is replaced by the right hand side after the comma. The right hand side is enclosed in arrow-shaped bracket. But I cannot find documentation on the DEFINE assembler instruction anywhere! Thanks

Comments

Sign in or sign up to comment and upvote.

No comments yet.