View Source Chip8.Interpreter.Instruction.Argument.Register (chip8 v1.0.0)
A 4-bit integer value representing a data register or a label for one of the pseudo-registers.
pseudo-registers
Pseudo-registers
Name | Description |
---|---|
bcd | binary-coded decimal, it represents a computation rather than an actual value. |
dt | delay timer, see Chip8.Interpreter for more information. |
font | represents the built-in font. |
i | register I of the interpreter, see Chip8.Interpreter for more information. |
keyboard | reads the keyboard and reports key events, see Chip8.Interpreter.Keyboard for more information. |
memory | access to the memory space, see Chip8.Interpreter for more information. |
st | sound 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
}