mirror of
https://github.com/rkujawa/rk65c02.git
synced 2024-12-13 16:30:01 +00:00
More meaningful comments.
This commit is contained in:
parent
5554de9411
commit
1c72bd23a8
@ -211,7 +211,11 @@ instruction_data_write_1(rk65c02emu_t *e, instrdef_t *id, instruction_t *i, uint
|
|||||||
e->regs.A = val;
|
e->regs.A = val;
|
||||||
break;
|
break;
|
||||||
case ZPR:
|
case ZPR:
|
||||||
/* XXX */
|
/*
|
||||||
|
* This mode is special as both operands have separate meaning.
|
||||||
|
* Handled withing emulation, as it is used only by BBS and BBR.
|
||||||
|
*/
|
||||||
|
assert(false);
|
||||||
break;
|
break;
|
||||||
case IMMEDIATE:
|
case IMMEDIATE:
|
||||||
case RELATIVE:
|
case RELATIVE:
|
||||||
@ -281,7 +285,12 @@ instruction_data_read_1(rk65c02emu_t *e, instrdef_t *id, instruction_t *i)
|
|||||||
rv = bus_read_1(e->bus, (i->op1 + (i->op2 << 8)) + e->regs.Y);
|
rv = bus_read_1(e->bus, (i->op1 + (i->op2 << 8)) + e->regs.Y);
|
||||||
break;
|
break;
|
||||||
case ZPR:
|
case ZPR:
|
||||||
/* XXX */
|
/*
|
||||||
|
* This mode is special as both operands have separate meaning.
|
||||||
|
* Handled withing emulation, as it is used only by BBS and BBR.
|
||||||
|
*/
|
||||||
|
assert(false);
|
||||||
|
break;
|
||||||
case IABSOLUTE:
|
case IABSOLUTE:
|
||||||
case IABSOLUTEX:
|
case IABSOLUTEX:
|
||||||
case RELATIVE:
|
case RELATIVE:
|
||||||
|
Loading…
Reference in New Issue
Block a user