Skip to content

zakharykaplan/kap-16

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
asm
 
 
doc
 
 
emu
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published