Install crasm by entering the following commands in the terminal:
sudo apt update sudo apt install crasm
Cross assembler for 6800/6801/6803/6502/65C02/Z80
Assemble a microprocessor program and produce output file in Intel HEX or Motorola S Code from source for 6800/6801/6803/6502/65C02/Z80 processors. A program listing and a symbol table are also produced on the standard output.