Initial cpu and instruction parsing

This commit is contained in:
2025-01-30 16:27:27 -07:00
parent 945b82a3ca
commit cd588671c4
12 changed files with 303 additions and 11 deletions

View File

@ -14,4 +14,6 @@ typedef uint64_t u64;
#define BIT_SET(a, n, on) (on ? (a) |= (1 << n) : (a) &= !(1 << n))
#define BETWEEN(a, b, c) ((a >= b) && (a <= c))
void delay(u32 ms);
void delay(u32 ms);
#define NO_IMPL { fprintf(stderr, "NOT YET IMPLEMENTED\n"); exit(-5); }