added more instructions

This commit is contained in:
Lauchmelder 2021-10-23 00:47:33 +02:00
parent f872e19707
commit a345421963
6 changed files with 558 additions and 39 deletions

View file

@ -57,7 +57,16 @@ struct CPU
Byte raw;
} status;
Word pc;
union
{
struct
{
Byte lo;
Byte hi;
};
Word word;
} pc;
Byte remainingCycles;
size_t totalCycles;