Module instruction

Source

Structs§

Condition
Condition code for LC-3. Because the original LC-3 machine defines each condition codes as separated bits of PSR, we don’t define it as enum, but struct with three boolean values.

Enums§

Instruction
A single LC-3 instruction. Except condition codes and is_immd values, all fields are set to i16 type for convenience.