Program Counter



Rating - 3/5
541 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.

These Topics Are Also In Your Syllabus
1 Instruction Cycle link
2 Fetch and Decode link
You May Find Something Very Interesting Here. link
3 Determine the Type of Instruction link
4 Register-Reference Instructions link
5 Memory-Reference Instructions link

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
1 operation code link
2 Stored Program Organization link
You May Find Something Very Interesting Here. link
3 Instruction Codes link
4 Indirect Address link
5 Computer Registers link

These Topics Are Also In Your Syllabus
1 Bus and Memory Transfers link
2 Bus and Memory Transfers -2 link
You May Find Something Very Interesting Here. link
3 Three-State Bus Buffers link
4 Memory Transfer link
5 Binary Adder link

Rating - 3/5
470 views

Advertisements
Rating - 3/5