Chip8.Interpreter.Instruction.Argument.Register (chip8 v0.1.0)

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

pseudo-registers

Pseudo-registers

NameDescription
bcdbinary-coded decimal, it represents a computation rather than an actual value.
dtdelay timer, see Chip8.Interpreter for more information.
fontrepresents the built-in font.
iregister I of the interpreter, see Chip8.Interpreter for more information.
keyboardreads the keyboard and reports key events, see Chip8.Interpreter.Keyboard for more information.
memoryaccess to the memory space, see Chip8.Interpreter for more information.
stsound timer, see Chip8.Interpreter for more information.

Link to this section Summary

Link to this section Types

@type t() :: %Chip8.Interpreter.Instruction.Argument.Register{
  value: 0..15 | :bcd | :dt | :font | :i | :keyboard | :memory | :st
}

Link to this section Functions

@spec bcd() :: t()
@spec dt() :: t()
@spec font() :: t()
@spec i() :: t()
@spec keyboard() :: t()
@spec memory() :: t()
@spec st() :: t()
@spec v(0..15) :: t()