LibDCPU16
Public Types | Public Attributes | List of all members
dcpu Struct Reference

Public Types

enum  { DCPU_DECODE_INSTRUCTION, DCPU_LOOK_UP_OPERAND_B, DCPU_PERFORM_OPERATION, DCPU_INSTRUCTION_SKIP }
 

Public Attributes

BOOLINT running
 
BOOLINT skip
 
BOOLINT fire
 
BOOLINT queue_interrupts
 
enum dcpu:: { ... }  state
 
uint16_t opcode
 
uint16_t operand_code_a
 
uint16_t operand_code_b
 
uint16_t * operand_a
 
uint16_t * operand_b
 
size_t operation_cost
 
struct interrupt_queueinterrupt_queue
 
struct hardware hardware [DCPU_HARDWARE_CAPACITY]
 
size_t hardware_count
 
uint16_t registers [REGISTER_COUNT]
 
uint16_t * memory
 

Member Enumeration Documentation

anonymous enum
Enumerator
DCPU_DECODE_INSTRUCTION 
DCPU_LOOK_UP_OPERAND_B 
DCPU_PERFORM_OPERATION 
DCPU_INSTRUCTION_SKIP 

Member Data Documentation

BOOLINT dcpu::fire
struct hardware dcpu::hardware[DCPU_HARDWARE_CAPACITY]
size_t dcpu::hardware_count
struct interrupt_queue* dcpu::interrupt_queue
uint16_t* dcpu::memory
uint16_t dcpu::opcode
uint16_t* dcpu::operand_a
uint16_t* dcpu::operand_b
uint16_t dcpu::operand_code_a
uint16_t dcpu::operand_code_b
size_t dcpu::operation_cost
BOOLINT dcpu::queue_interrupts
uint16_t dcpu::registers[REGISTER_COUNT]
BOOLINT dcpu::running
BOOLINT dcpu::skip
enum { ... } dcpu::state

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