
CPU::Emulator::6502::Addressing - Handle different addressing rules



Immediate addressing; immediately following the op.
Zero Page addressing. Address $00nn.
Zero Page addressing, X indexed. $00nn + X.
Zero Page addressing, Y indexed. $00nn + Y.
Indirect Addressing. Special for JMP.
Absolute addressing. Fetches the next two memory slots and combines them into a 16-bit word.
Absolute addressing, X indexed. Fetches the next two memory slots and combines them into a 16-bit word, then adds X.
Absolute addressing, Y indexed. Fetches the next two memory slots and combines them into a 16-bit word, then adds Y.
Indirect addressing, X indexed.
Indirect addressing, Y indexed.

Brian Cassidy <bricas@cpan.org>

Copyright 2007 by Brian Cassidy
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
