mirror of
https://github.com/raxracks/chip8.git
synced 2024-07-07 21:31:18 +12:00
14 lines
160 B
C
14 lines
160 B
C
#include <stdint.h>
|
|
|
|
#ifndef __CPU_H__
|
|
#define __CPU_H__
|
|
|
|
typedef struct CPU {
|
|
uint16_t pc;
|
|
uint8_t mem[4096];
|
|
uint8_t regs[16];
|
|
uint16_t I;
|
|
} CPU;
|
|
|
|
#endif
|