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.
It holds the operation code .that is the opcode of the current instruction of the program during the arithmatic and logic operation......it is also called single cycle execution(only one perform)
holds the location of the current instruction, of course.
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.
There is no PC register in the 8086/8088. It is called the IP register by Intel and it stands for the Instruction Pointer. It contains the address of the current/next instruction to be executed.
The main function of flag register is show the status of result stored in accumulator after execution of an instruction. Amar oli Dang,Nepal
instruction register
The IP register contains the address of the next instruction to fetch and execute. Normally, IP is incremented by the number of bytes in the instruction after execution of that instruction, unless a transfer of control occurs, in which case IP is loaded with a new value.
program counter is a register that has the address of next instruction that has to be executed after currently executing instruction. it is used for proper execution of functions of computer by providing address of next instruction to microprocessor.
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...
What is the function of XRA instruction
The Instruction Register contains the current instruction being executed. It is an internal, special register, and you can not do anything explicit with it. If you are referring to the Program Counter, that simply contains the address of the next instruction to execute. It is incremented for each opcode and operand byte fetched.
Clock
If 8 or 16 bit data is required for executing the instruction present in register/register pair and named of register/register pair is given along the register.this instruction is called register addressing mode instruction.for example:MOV B,A
Fetch