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:
|
case ABSOLUTEY:
|
||||||
bus_write_1(e->bus, (i->op1 + (i->op2 << 8)) + e->regs.Y, val);
|
bus_write_1(e->bus, (i->op1 + (i->op2 << 8)) + e->regs.Y, val);
|
||||||
break;
|
break;
|
||||||
|
case ACCUMULATOR:
|
||||||
|
e->regs.A = val;
|
||||||
|
break;
|
||||||
case ZPR:
|
case ZPR:
|
||||||
/* XXX */
|
/* XXX */
|
||||||
case ACCUMULATOR:
|
break;
|
||||||
case IMMEDIATE:
|
case IMMEDIATE:
|
||||||
case RELATIVE:
|
case RELATIVE:
|
||||||
case IABSOLUTE:
|
case IABSOLUTE:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user