The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

SYNOPSIS

DESCRIPTION

METHODS

immediate( )

Immediate addressing; immediately following the op.

zero_page( )

Zero Page addressing. Address $00nn.

zero_page_x( )

Zero Page addressing, X indexed. $00nn + X.

zero_page_y( )

Zero Page addressing, Y indexed. $00nn + Y.

indirect( )

Indirect Addressing. Special for JMP.

absolute( )

Absolute addressing. Fetches the next two memory slots and combines them into a 16-bit word.

absolute_x( )

Absolute addressing, X indexed. Fetches the next two memory slots and combines them into a 16-bit word, then adds X.

absolute_y( )

Absolute addressing, Y indexed. Fetches the next two memory slots and combines them into a 16-bit word, then adds Y.

indirect_x( )

Indirect addressing, X indexed.

indirect_y( )

Indirect addressing, Y indexed.

AUTHOR

Brian Cassidy <bricas@cpan.org>

COPYRIGHT AND LICENSE

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.

SEE ALSO