Module tis_100::core [] [src]

Basic types for parsing and interpreting TIS-100 assembly code.

Structs

ParseIoRegisterError

An error which can be returned when parsing an IO register.

ParsePortError

An error which can be returned when parsing a port.

ParseRegisterError

An error which can be returned when parsing a register.

ParseSourceError

An error which can be returned when parsing a source.

Enums

Instruction

A valid TIS-100 instruction.

IoRegister

A TIS-100 port or pseudo-port.

Port

A TIS-100 port.

Register

A TIS-100 register.

Source

The source component of a TIS-100 instruction.

Functions

opposite_port

Get the opposing direction for a given port.

Type Definitions

Program

The list of instructions created by parsing the program source code. The instructions can then be evaluated by a basic execution node.