API Reference chip8 v0.1.0

modules

Modules

Core library for a Chip-8 interpreter.

An interpreter for the Chip-8 language.

A monochrome display device.

Group of bytes representing the binary structure of an image.

Interpreter's built-in font sprites.

Module to interact with interpreter's opcodes.

Adds the first operand with the second operand.

Calculates the bitwise AND between two operands.

A 12-bit integer value representing a memory address location.

An 8-bit integer literal value.

A 4-bit integer literal value.

A 4-bit integer value representing a data register or a label for one of the pseudo-registers.

Clear the display's contents.

Render sprites into the display.

Jump to a memory address.

Loads a value into memory, registers, or timers.

Calculates the bitwise OR between two operands.

Return from a subroutine.

Generates a random 8-bit integer.

Skip the next instruction when values are equal.

Calculates the result of an arithmetic left bitshift.

Calculates the result of an arithmetic right bitshift.

Skip the next instruction when a specific key is not pressed.

Skip the next instruction when a specific key is pressed.

Skip the next instruction when values are not equal.

Subtracts the first operand with the second operand.

Subtracts the second operand with the first operand.

Call a native subroutine.

Calculates the bitwise XOR between two operands.

A keyboard input device.

Memory space available for programs to store and manipulate data.

A timer is an 8-bit integer that decrements at a constant rate.

General purpose variable registers.

A simple Last In First Out queue.