FInal opcodes
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
#define CPU_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <unistd.h>
|
||||
|
||||
typedef struct {
|
||||
uint16_t ProgrammeCounter;
|
||||
@@ -29,6 +28,6 @@ typedef struct {
|
||||
|
||||
void initCPU(CPU *cpu);
|
||||
void resetCPU(CPU *cpu, uint8_t *rom);
|
||||
useconds_t runCycle(CPU *cpu, uint8_t *ram, uint8_t *rom);
|
||||
uint8_t runCycle(CPU *cpu, uint8_t *ram, uint8_t *rom);
|
||||
|
||||
#endif // CPU_H
|
||||
+1
-1
@@ -123,7 +123,7 @@
|
||||
#define CLV 0xb8 // Clear overflow flag
|
||||
#define LDA_YA 0xb9 // Load A from memory, Y-indexed absolute
|
||||
#define TSX 0xba // Transfer stack pointer to X
|
||||
#define LDY_XA 0xbb // Load Y from memory, X-indexed absolute
|
||||
#define LDY_XA 0xbc // Load Y from memory, X-indexed absolute
|
||||
#define LDA_XA 0xbd // Load A from memory, X-indexed absolute
|
||||
#define LDX_YA 0xbe // Load X from memory, Y-indexed absolute
|
||||
/* 113 */
|
||||
|
||||
Reference in New Issue
Block a user