Skip to content

kkinos/zktc-emu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zktc-emu

zktc-emu is a ZKTC emulator implemented in Rust.

Install

cargo install --git https://github.com/kkinos/zktc-emu.git

Usage

Create a mem file using zktc-asm.

zktc-asm rom_file.asm -o rom_file.mem

Loads a mem file into ROM and executes.

zktc-emu rom_file.mem
zktc-emu >>

You can also specify which a mem file to load into RAM with the --ram option.

zktc-emu rom_file.mem --ram ram_file.mem

Commands

zktc-emu >> help
run, r        : continue to execute until break point

step, s       : step execute

breakpoint, b : set breakpoint (b 0x8000)

mem, m        : display data in memory (m 0x8000 10)

regsters, regs: display data in register

help          : show this message

exit          : exit
zktc-emu >>

Tests

make test

requirements

About

ZKTC emulator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published