Skip to content
/ TSYS Public

🍡πŸ–₯ A simple 12 bit Logisim RISC CPU architecture + a low-level programming language + an assembler

Notifications You must be signed in to change notification settings

tffdev/TSYS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Something I made over a few nights.

Requires Logisim-Xtended

ROM is 12 bits per word, the first 4 bits being the opcode, last 8 being operand.

add   15

assembles to:
1     0f

resulting in 10f word. 

Use TSYS Instructions.txt as a reference to write the hex codes directly.

To use the simple ASM, build TSYSasm.cr with the Crystal compiler and run with two arguments, the file of the assembly code, and the name of the output file; e.g.

./TSYSasm test.tasm output

You can then load this into the ROM module in Logisim and run it by enabling the clock; ctrl+k

About

🍡πŸ–₯ A simple 12 bit Logisim RISC CPU architecture + a low-level programming language + an assembler

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published