state

package
v0.0.0-...-c62af90 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Memory

type Memory []uint8

func InitMemory

func InitMemory() Memory

func (Memory) LoadMemory

func (m Memory) LoadMemory(r io.Reader) (err error)

type Stack

type Stack struct {
	// contains filtered or unexported fields
}

func InitStack

func InitStack() *Stack

func (*Stack) Len

func (s *Stack) Len() (length int8)

func (*Stack) Pop

func (s *Stack) Pop() (val int16)

func (*Stack) Push

func (s *Stack) Push(val int16)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL