#chip8 #opcode #human-readable #binary #translate #rom #hex

chip8-rom-to-opcode

A simple tool to disassemble chip8 binary files

4 releases

0.1.3 Oct 13, 2019
0.1.2 Oct 13, 2019
0.1.1 Oct 12, 2019
0.1.0 Oct 12, 2019

#244 in Value formatting

MIT license

14KB
362 lines

chip8-rom-to-opcode

Library to translate binary or hex chip8 roms into human readable opcodes.

Motivation

This is the core component of a disassembler for Chip-8 roms, which can also be uses as a debugging tool in a Chip-8 emulator.

Usage

Convert a vector of bytes(u8) into human readable memonics. The strings are returned as Vec to allow the user to format, display, or use the results however they like.

No runtime deps