Sync changes from laptop

This commit is contained in:
2025-02-04 15:14:56 +01:00
parent 0a0f953f09
commit e6f241bcae
2 changed files with 17 additions and 13 deletions

View File

@@ -23,7 +23,7 @@ enum Mode {
// CPU state
typedef struct {
uint32_t regs[REG_COUNT];
uint8_t regs[REG_COUNT];
uint8_t memory[MEM_SIZE];
uint32_t pc; // Program counter
uint32_t sp; // Stack pointer