Expand description

Provides the interface between ISAs and the GPCAS simulator. It also provides basic handling of ELF files. In order to provide support, an ISA has to provide a public function that returns an Isa object. Possible ISAs are defined in IsaIdentifier.

Modules

Contains constants for control information for the cpu simulation.

Structs

The first part of an ELF file header.

An emulated instruction from the program of the simulation.

The properties of an instruction set architecture.

Provides a continuous memory storage for multiple operands.

Enums

Identifiers of all ISAs recognized by the simulator.

How an ISA handles memory access in its instructions.

Constants

This flag gets set in the register indices. It indicates that the index is for a vector register and therefore might be using a separate register set.

The maximum number of register inputs that is needed by any ISA.

Traits

Can be used to emulate programs by the simulator.

Additional functions used for interactive emulation.

Functions

Returns the ISA of the program file if it can be identified by the simulator.

Formats a c-style string into a rust-style one.