The 8051 Microcontroller and Embedded

(lily) #1
Department of Computer Scien

ce and Information Engineering

National Cheng Kung University, TAIWAN
HANEL

PROGRAM COUNTER AND ROM SPACEProgram Counter


‰The program counter points to the address of the next instruction to be executed


¾As the CPU fetches the opcode from the program ROM, the program counter is increasing to point to the next instruction


‰The program counter is 16 bits wide


¾This means that it can access program addresses 0000 to FFFFH, a total of 64K bytes of code

Free download pdf