Module lc3_ensemble::ast
source · Expand description
Structs relating to the ASTs created from assembly files.
Modules§
- This module holds the AST for statements from assembly source code.
- Register constants!
- This module is used for holding simulation instructions (
SimInstr), which are instructions that directly map to bytecode.
Structs§
- A label.
- A value representing an offset or an immediate value.
- A register. Must be between 0 and 7.
Enums§
- A value representing either an immediate value or a register.
- The errors that can result from calling
Offset::new. - An offset or a label.
Type Aliases§
- A condition code (used for
BR), must be between 0 and 7. - A value representing a signed offset or a signed immediate value.
- An unsigned 8-bit trap vector (used for
TRAP).