12 lines
226 B
C
12 lines
226 B
C
|
#include "address_space.h"
|
||
|
#include <stdint.h>
|
||
|
|
||
|
struct CPU_s {
|
||
|
uint32_t registers[32];
|
||
|
uint32_t programCounter;
|
||
|
AddressSpace *addressSpace;
|
||
|
};
|
||
|
|
||
|
typedef struct CPU_s CPU;
|
||
|
|
||
|
CPU create_cpu(AddressSpace *addressSpace);
|