Skip to content

Chip8 interpreter #6

Description

@Pyxus

Overview

Importance: High
Difficulty: Varies
Time Estimate: Unknown

Specifications

Chip8 features 36 2 byte long instructions that are stored most significant bit first. The first byte of each instruction should be stored in an even memory location. A full list of all instructions and a description of what they do can be found here.

Implementation Details

The simplest implementation would be a large switch statement that executes some code where a specific instruction is detected. Another implementation I've seen is using an array of function pointers where the opcode acts as an index to the function which should handle it.

note: This task can be split up among the team with each person handle a set of opcodes.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions