mirror of
https://github.com/thiagoauler/apple1.git
synced 2024-11-26 12:49:19 +00:00
coding the addressing modes
This commit is contained in:
parent
4ced079268
commit
c39eaab7d9
@ -35,7 +35,7 @@ void fetch_operand()
|
|||||||
operand = ac;
|
operand = ac;
|
||||||
break;
|
break;
|
||||||
case absolute:
|
case absolute:
|
||||||
address = read_word(pc)
|
address = read_word(pc);
|
||||||
operand = read_byte(address);
|
operand = read_byte(address);
|
||||||
pc = pc + 2;
|
pc = pc + 2;
|
||||||
case absolute_x:
|
case absolute_x:
|
||||||
|
Loading…
Reference in New Issue
Block a user