Module etk_asm::ops[][src]

Definitions of all instructions supported by the assembler.

Structs

TryFromIntError

An error that arises when converting an integer into an immediate.

TryFromSliceError

An error that arises when converting a slice into an immediate.

UnknownSpecifierError

The error that can arise while parsing a specifier from a string.

Enums

Abstract

Marker type for instructions which may accept labels or constants as arguments.

AbstractOp

Like an Op, except it also supports virtual instructions.

Concrete

Marker type for concrete instructions, meaning instructions which cannot use labels.

Imm

An immediate value for push instructions.

Op

Enumeration of all supported instructions.

Spec

Marker type for instructions without arguments.

Traits

Metadata

Extra information about an instruction.

Type Definitions

ConcreteOp

Shorthand for Op<Concrete>, that is an Op that can only accept constants as arguments.

Specifier

A Specifier is an Op that takes no arguments. It’s useful to refer to instructions without needing knowledge of any particular immediate argument value.