zktc-emu is a ZKTC emulator implemented in Rust.
cargo install --git https://github.com/kkinos/zktc-emu.git
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
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 >>
make test
requirements