Download Print this page

Nintendo NES-001 - Entertainment System Game Console Documentation page 11

User guide
Hide thumbs Also See for NES-001 - Entertainment System Game Console:

Advertisement

Figure 2-3. CPU memory map.
2.3 Registers
The 6502 has fewer registers than similar processors. There are three special purpose
registers, the program counter, stack pointer and status register which each have a specific
use. It also has three general purpose registers, the accumulator and the index registers, X
and Y, which can be used to store data or control information temporarily.
2.3.1 Program Counter (PC)
The program counter is a 16-bit register which holds the address of the next instruction to be
executed. As instructions are executed, the value of the program counter is updated, usually
moving on to the next instruction in the sequence. The value can be affected by branch and
jump instructions, procedure calls and interrupts.
2.3.2 Stack Pointer (SP)
11

Advertisement

loading

This manual is also suitable for:

Entertainment system