If you wish to make an apple pie from scratch, you must first invent the universe.
KAP-16 — short for Kinda Adequate Processor, 16-bit — is a toy microprocessor architecture. It runs its own instruction set architecture (ISA) called LANv1: Lite Assembly Notation, version 1.
The assembler is responsible for converting programs written in LANv1 assembly language into bit patterns that can be interpreted by KAP-16. It is also capable of linking multiple object files into an executable, which can be run directly on the processor. Since KAP-16 does not have an operating system, the executables it runs are actually a memory image.