WolPSX
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
RegisterLoad Struct Reference

Struture to store details of loads to the general purpose registers. More...

#include <cpu.hpp>

Public Member Functions

 RegisterLoad ()
 Construct a new RegisterLoad object.
 
 RegisterLoad (uint32_t reg, uint32_t data)
 Construct a new RegisterLoad object with no delay.
 
 RegisterLoad (uint32_t reg, uint32_t data, uint32_t delay)
 Construct a new RegisterLoad object with delay.
 

Public Attributes

uint32_t reg
 Register ID.
 
uint32_t data
 Data to be loaded.
 
uint32_t delay
 Delay in clock cycles.
 

Detailed Description

Struture to store details of loads to the general purpose registers.

Definition at line 95 of file cpu.hpp.

Constructor & Destructor Documentation

◆ RegisterLoad() [1/3]

RegisterLoad::RegisterLoad ( )
inline

Construct a new RegisterLoad object.

Definition at line 119 of file cpu.hpp.

◆ RegisterLoad() [2/3]

RegisterLoad::RegisterLoad ( uint32_t reg,
uint32_t data )
inline

Construct a new RegisterLoad object with no delay.

Parameters
regRegister ID
dataData to be loaded

Definition at line 127 of file cpu.hpp.

◆ RegisterLoad() [3/3]

RegisterLoad::RegisterLoad ( uint32_t reg,
uint32_t data,
uint32_t delay )
inline

Construct a new RegisterLoad object with delay.

Parameters
regRegister ID
dataData to be loaded
delayDelay

Definition at line 136 of file cpu.hpp.

Member Data Documentation

◆ data

uint32_t RegisterLoad::data

Data to be loaded.

Definition at line 107 of file cpu.hpp.

◆ delay

uint32_t RegisterLoad::delay

Delay in clock cycles.

Definition at line 113 of file cpu.hpp.

◆ reg

uint32_t RegisterLoad::reg

Register ID.

Definition at line 101 of file cpu.hpp.


The documentation for this struct was generated from the following file: