Skip to content

A small experimental assembler + emulator for a custom ISA

Notifications You must be signed in to change notification settings

Varun-Sethu/CheepCheep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CheepCheep

Just a reasonably small emulator + assembler for a custom ISA, not entirely a serious project. The ISA is loosely based on the 6502 and the Chip8 system. It's a 16 bit system with a 16 bit address bus, see "chippy" for more details.

Compilation and setup

A makefile is provided to ease development, to compile all the ROMs within the ROMs/ directory run:

make roms

Likewise, to build the emulator and assembler target run

make all

Once the ROMs have been assembled into bytecode they can be run on the emulator by simply calling

./emulator.out binaries/rom.chip

To clean the current directory run

make clean

Details

The assembler's name is "Chippy" :). I am yet to implement any pseudo-ops and the ability to write non operation data directly into the assembled file (eg. global variables). At the emulator level it would be nice to support some sort of segmentation.

About

A small experimental assembler + emulator for a custom ISA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published