Chip8.Stack (chip8 v0.1.0)

A simple Last In First Out queue.

Link to this section Summary

Link to this section Types

@type t() :: %Chip8.Stack{data: [byte()], size: non_neg_integer()}

Link to this section Functions

@spec new() :: t()
@spec pop(t()) :: {byte() | nil, t()}
Link to this function

push(stack, value)

@spec push(t(), integer()) :: t()