Skip to content

kaplanz/kap-16

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kap-16

If you wish to make an apple pie from scratch, you must first invent the universe. Carl Sagan


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.

Contents

Specification

KAP-16's specifications are outlined in spec/. Read the README.md for information on the architecture.

Assembler

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.

Source code for the assembler can be found in the asm/ directory. Read the README.md for information on building and running the assembler.

Emulator

A fully functional emulator for the KAP-16 can be found inside the emu/ directory. Read the README.md for information on building and running the emulator.

About

A toy 16-bit microprocessor architecture

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published