Program Counter



Rating - 3/5
479 views

The memory address register (AR) has 12 bits since this is the width of a memory address. The program counter (PC) also has 12 bits and it holds the address of the next instruction to be read from memory after the current instruction is executed. The PC goes through a counting sequence and causes the computer to read sequential instructions previously stored in memory. Instruction words are read and executed in sequence unless a branch instruction is encountered. A branch instruction calls for a transfer to a nonconsecutive instruction in the program. The address part of a branch instruction is transferred to PC to become the address of the next instruction. To read an instruction, the content of PC is taken as the address for memory and a memory read cycle is initiated. PC is then incremented by one, so it holds the address of the next instruction in sequence.

Two registers are used for input and output. The input register (INPR) receives an 8-bit character from an input device. The output register (OUTR) holds an 8-bit character for an output device.

These Topics Are Also In Your Syllabus Program Counter
1 Types of Operating Systems - Batch operating system, Time-sharing systems, Distributed OS, Network OS, Real Time OS link
2 OCTAL AND HEXADECIMAL NUMBER CONVERSION link
You May Find Something Very Interesting Here. Program Counter link
3 OCTAL AND HEXADECIMAL NUMBER CONVERSION -2 link
4 DECIMAL REPRESENTATION-INTRODCTION link
5 ALPHANUMERIC REPRESENTATION link

Program Counter


Rating - 3/5
506 views

Advertisements
Rating - 3/5