program counter holds the address of the next instruction.
Yes, the "Current PSW" contains machine state and next instruction address. It is a 64 bit register, and bits 33-63 (AMODE=31) or bits 40-63 (AMODE=24) contain the address of the next instruction to be executed. Certain "restartable" instructions, while in flight, will maintain the current instruction address until the sequence is complete, and certain exceptions, "early exceptions", will contain the current instruction address but, in general, the PSW (33-63) contains the address of the next instruction to execute.
actually register holds the data..there are 6 register which are temporary registers..program counter holds the address of next instruction to be fetched..instruction register holds the currently executed data...
The Instruction Register (IR) stores the instruction currently being executed. In simple processors each instruction to be executed is loaded into the instruction register which holds it while it is decoded, prepared and ultimately executed.
The function of the program counter register is to hold the address of the instruction that is being executed and (later) to hold the address of the instruction that will be executed next.
program counter
• The processor fetches the instruction from memory • Program counter (PC) holds address of the instruction to be fetched next • PC is incremented after each fetch • Fetched instruction loaded into instruction register
The program counter in the processor holds the address of the next instruction needed from main memory. The program counter copies its contents into the memory address register. The memory address register then sends the address along the address bus to main memory and the contents of the memory location specified by the address are sent along the data bus to the memory buffer register. The contents of the memory buffer register are then copied to the current instruction register where they are decoded and executed.
The program counter in the processor holds the address of the next instruction needed from main memory. The program counter copies its contents into the memory address register. The memory address register then sends the address along the address bus to main memory and the contents of the memory location specified by the address are sent along the data bus to the memory buffer register. The contents of the memory buffer register are then copied to the current instruction register where they are decoded and executed.
The program counter in the processor holds the address of the next instruction needed from main memory. The program counter copies its contents into the memory address register. The memory address register then sends the address along the address bus to main memory and the contents of the memory location specified by the address are sent along the data bus to the memory buffer register. The contents of the memory buffer register are then copied to the current instruction register where they are decoded and executed.
The program counter in the processor holds the address of the next instruction needed from main memory. The program counter copies its contents into the memory address register. The memory address register then sends the address along the address bus to main memory and the contents of the memory location specified by the address are sent along the data bus to the memory buffer register. The contents of the memory buffer register are then copied to the current instruction register where they are decoded and executed.
The instruction register holds a pointer to the current instruction (in working memory) while the next instruction register points to the next instruction (the first instruction immediately after the current instruction's operands). If the current instruction is a jump instruction, it can change the next instruction register, allowing the program to branch to a new instruction once the jump instruction is processed. The next instruction pointer is automatically moved into the current instruction register once the current instruction has been processed. The entire process of executing an instruction is known as the fetch-decode-execute cycle.