NAME
CPU::Emulator::6502 - Class representing a 6502 CPU
SYNOPSIS
DESCRIPTION
REGISTERS
acc - Accumulator
x
y
pc - Program Counter
sp - Stack Pointer
status
METHODS
new( )
init( )
create_instruction_table
Dynamically loads all instructions from the CPU::Emulator::6502::Op namespace and creates a table.
RAM_read( $address )
Reads data from $address
in memory.
RAM_write( $address => $data )
Writes $data
to $address
in memory.
interrupt_request()
execute_instruction( )
get_instruction( )
debug( )
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.