Module lc3_ensemble::ast::asm
source · Expand description
This module holds the AST for statements from assembly source code.
For instructions that map to bytecode instructions, see sim::SimInstr.
Useful structs in this module include:
Structs§
- A “statement” in LC-3 assembly.
Enums§
- An enum representing all of the possible instructions in LC-3 assembly code.
- An enum representing all the possible directives in LC-3 assembly code.
- Either an instruction or a directive.
Functions§
- Attempts to disassemble bytecode back into assembly instructions.