Talk:CPU addressing modes: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
(Created page with "For (d),y adressing, shouldn't the formula be: PEEK(PEEK(arg) + (PEEK((arg + 1) % 256) * 256) + y) instead of PEEK(PEEK(arg) + PEEK((arg + 1) % 256) + y) ?")
 
(yes it should)
Line 1: Line 1:
== (d),y addressing typo ==
For (d),y adressing, shouldn't the formula be:
For (d),y adressing, shouldn't the formula be:


Line 8: Line 10:


?
?
:Yes. Amended. - [[User:Rainwarrior|Rainwarrior]] ([[User talk:Rainwarrior|talk]]) 15:39, 9 February 2016 (MST)

Revision as of 22:39, 9 February 2016

(d),y addressing typo

For (d),y adressing, shouldn't the formula be:

PEEK(PEEK(arg) + (PEEK((arg + 1) % 256) * 256) + y)

instead of

PEEK(PEEK(arg) + PEEK((arg + 1) % 256) + y)

?

Yes. Amended. - Rainwarrior (talk) 15:39, 9 February 2016 (MST)