diff options
Diffstat (limited to 'emux64/src/include')
-rw-r--r-- | emux64/src/include/cpu/cpu.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/emux64/src/include/cpu/cpu.h b/emux64/src/include/cpu/cpu.h index bffb6c0..84c8832 100644 --- a/emux64/src/include/cpu/cpu.h +++ b/emux64/src/include/cpu/cpu.h @@ -54,6 +54,13 @@ #define OP_DIV 0x04 /* 2-op DIV */ #define OP_HLT 0x0E /* Halt */ +/* + * X<n> register encoding + * + * Range: 0x00 - 0xE + */ +#define REG_XN_BASE 0x00 +#define REG_XN_LIMIT (REG_XN_BASE + 0x0E) /* * Represents a single unit of execution |