mirror of
https://github.com/pnx/m16vm
synced 2026-06-16 03:44:55 +02:00
src/cpu: add the define "CPU_NUM_REGS"
This commit is contained in:
parent
900e1d87c4
commit
dca453457d
2 changed files with 3 additions and 1 deletions
|
|
@ -32,7 +32,7 @@
|
|||
#include "instr.h"
|
||||
|
||||
// Registers r0, r15
|
||||
int16_t reg[16] = { 0 };
|
||||
int16_t reg[CPU_NUM_REGS] = { 0 };
|
||||
|
||||
/* Program */
|
||||
unsigned char *instr_mem = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue