Want this question answered?
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.
the differebce between three address instruction and two address instruction is three adresss instructoion two address instruction 1) here 3 oprarend fields are used 1) here 2 oprerand fields are used 2) the result is stored in 3rd operand 2) here the result is stored in 2nd oparend
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.
There is no equation first of all because the given expression conveys no clue regarding destination or source......................?
In 8085 program counter stores the address of the next instruction which is to be fecthed.same function is performed by instruction pointer in 8086.
What is the function of XRA instruction
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.
A two-byte instruction gives the specific function instruction in two bytes, or two words. The first specifies the opcode, which tells the microprocessor what operation will occur. The second specifies the operand, or the data that the operation is done on.
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.
An instruction is a command to the CPU to perform one processing function on one or two data inputs.
program counter holds the address of the next instruction.
1st address for operand. 2nd address for another operand. 3rd address for store the result. 4th address for next instruction.