Module lc3_ensemble::sim

source ·
Expand description

Simulating and execution for LC-3 assembly.

This module is focused on executing fully assembled code (i.e., ObjectFile).

This module consists of:

  • Simulator: The struct that simulates assembled code.
  • mem: The module handling memory relating to the registers.
  • io: The module handling simulator IO.
  • debug: The module handling types of breakpoints for the simulator.

Modules§

  • Utilities to debug simulation.
  • IO handling for LC-3.
  • Memory handling for the LC-3 simulator.

Structs§

  • A wrapper over u16 in order to faciliate the PSR.
  • Executes assembled code.

Enums§

  • Errors that can occur during simulation.