Skip to content

mbits-mirafra/cpu-lite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cpu-lite

CPU Lite is a small CPU designed for instruction purposes. The spec of the CPU is here.

Directories

iss: Instruction set simulator. Takes a file produced by the assembler

scripts: Contains the assembler

examples: Some basic examples

To compile the ISS:

> cd iss 
> gcc -o iss iss.c

Flow:

  • Write an assembly file
  • Run the assembler:
    > python3 assemble.py example.asm example.out
    
  • Run the instruction set simulator
    > iss example.out
    

About

CPU Lite is a small CPU designed for instruction purposes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published