Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROM disassembler #29

Open
wants to merge 8 commits into
base: devel
Choose a base branch
from
Open

ROM disassembler #29

wants to merge 8 commits into from

Conversation

danirod
Copy link
Owner

@danirod danirod commented Apr 30, 2016

// TODO: Write

danirod added 4 commits April 30, 2016 19:42
Will read the opcodes from a ROM and dump all the opcodes into
stdout. Still pending to process every opcode that is read.
So WIP, missing a few things. Not well tested. Not tested at all.
static void
to_instruction_7(unsigned short opcode, char* out)
{
snprintf(out, 20, "AND V[%x], %x", OPCODE_X(opcode), OPCODE_KK(opcode));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hugomartin89 and others added 4 commits April 30, 2016 21:10
Corrects 7xkk (ADD) and Dxyn (DRW).
Using --output=full will render for each instruction, memory
address, compiled opcode and decompiled instruction. Using
--output=minimal will just render the decompiled instruction.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 88.845% when pulling 995f353 on disasm into 0152697 on devel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants