Crate feo3boy_opcodes

Crate feo3boy_opcodes 

Source
Expand description

Defines the opcodes for the feo3boy gameboy.

This library is intended to provide the basic opcodes of the gbz80 CPU. Opcodes are defined in terms of a microcode which allows instructions to be broken into smaller steps.

The microcode module supplies the Microcode type, which defines the steps that opcodes can be broken down into.

The opcode module supplies Opcode and CBOpcode which define the actual instructions the GameBoy CPU can execute.

Modules§

compiler
This module provides utilities for analyzing and manipulating sequences of Microcode operations in order to transform opcodes into rust code that executes those opcodes.
gbz80types
Types which are used in the gbz80.
microcode
This module provides the Microcode type, which specifies the sub-steps that Opcodes can be broken down into.
opcode
Provides the Opcode and CBOpcode types, which define the opcodes available on the gbz80 CPU.

Macros§

count_repetition
Counts the number of repetitions in a macro invocation. Produces a constant expression.