mirror of
https://github.com/rkujawa/rk65c02.git
synced 2025-01-10 18:29:53 +00:00
Some opcodes also write data to accumulator.
This commit is contained in:
parent
8d5482ad09
commit
646c7d1905
@ -207,9 +207,12 @@ instruction_data_write_1(rk65c02emu_t *e, instrdef_t *id, instruction_t *i, uint
|
||||
case ABSOLUTEY:
|
||||
bus_write_1(e->bus, (i->op1 + (i->op2 << 8)) + e->regs.Y, val);
|
||||
break;
|
||||
case ACCUMULATOR:
|
||||
e->regs.A = val;
|
||||
break;
|
||||
case ZPR:
|
||||
/* XXX */
|
||||
case ACCUMULATOR:
|
||||
break;
|
||||
case IMMEDIATE:
|
||||
case RELATIVE:
|
||||
case IABSOLUTE:
|
||||
|
Loading…
x
Reference in New Issue
Block a user