mirror of
https://github.com/rzzzwilson/pymlac.git
synced 2025-06-10 09:32:41 +00:00
31 lines
738 B
C
Executable File
31 lines
738 B
C
Executable File
/******************************************************************************\
|
|
* cpu.h *
|
|
* ------- *
|
|
\******************************************************************************/
|
|
|
|
#ifndef CPU_H
|
|
#define CPU_H
|
|
|
|
#include "vimlac.h"
|
|
|
|
/******
|
|
* Exported functions.
|
|
******/
|
|
|
|
void cpu_start(void);
|
|
void cpu_stop(void);
|
|
int cpu_execute_one(void);
|
|
WORD cpu_get_AC(void);
|
|
WORD cpu_get_L(void);
|
|
WORD cpu_get_PC(void);
|
|
WORD cpu_get_prev_PC(void);
|
|
WORD cpu_get_DS(void);
|
|
bool cpu_running(void);
|
|
void cpu_set_AC(WORD ac);
|
|
void cpu_set_L(WORD l);
|
|
void cpu_set_PC(WORD pc);
|
|
void cpu_set_DS(WORD ds);
|
|
|
|
|
|
#endif
|