A 6502 macro assembler in FORTH

Abstract An account of the writing of a FORTH macroassembler for the 6502 microprocessor is given. The processors mnemonics were divided into groups and taken care of by five routines using two FORTH words. Examples are presented designed to run under the implementation of fig-FORTH for the Microtan microcomputer. Some of the problems encountered in such an implementation are considered.