6502 Microprocessors
6502 Microprocessors
Assembly Language
Arsitektur dan Organisasi Komputer
Sekolah Tinggi Intelijen Negara
6502 microprocessors
Why 6502
• 6502 assembly has fewer instructions than modern assembly
• The instructions on the 6502 are varied and compared to other
processors at the time offer a lot of options
• The 6502 was incredibly popular
The 6502 Architecture
• The 6502 is an 8-bit microprocessor that follows the
memory oriented design philosophy of the Motorola
6800
• The 6502 handles data in its registers, each of which
holds one byte (8-bits) of data
• 6502 registers:
• accumulator (A) - Handles all arithmetic and logic. The real
heart of the system
• X and Y - General purpose registers with limited abilities.
• S - Stack pointer.
• P - Processor status. Holds the result of tests and flags
Stack Pointer