it has an instruction set of a few hundred instructions.
The Instruction Pointer (IP) in an 8086 microprocessor contains the address of the next instruction to be executed. The processor uses IP to request memory data from the Bus Interface Unit, and then increments it by the size of the instruction.
when conditional jump instruction is executed it has 10 m/c cycles bt when nt executed it has 7 m/c cycles....while unconditional jump instruction has 10 m/c cycles...
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.
The NOP (No Operation) instruction takes time but does nothing to the data or the status of the microprocessor. When executed in a loop, it can take substantial time, from microseconds, to milliseconds, to seconds.
in 8085 microprocessor a subroutine is a separate program written aside from main program ,this program is basically the program which requires to be executed several times in the main program. the microprocessor can call subroutine any time using CALL instruction . after the subroutine is executed the subbroutine hands over the program to main program using RET instruction.
To calculate the physical memory address of the next instruction executed by a microprocessor, you typically use the program counter (PC), which holds the address of the next instruction to be fetched. The PC is incremented after each fetch, usually by the size of the instruction that was executed. In systems with paging or segmentation, you may also need to consider the current values of the segment registers or page tables to translate virtual addresses to physical addresses correctly. Thus, the physical address can be derived from the PC value, along with any necessary address translation mechanisms.
branch instruction
It fetches the next instruction.
it goes to queue for next instruction
instruction register is used to store the next instruction to be executed. instruction pointer is used to store the address of the next instruction to be executed.
Special restart instruction used with interrupts
When a program begins, the memory address of the first instruction is placed in a part of the microprocessor's control unit called the program counter (PC). The program counter keeps track of the address of the next instruction to be executed, ensuring the CPU can fetch and process instructions in the correct sequence. As each instruction is executed, the program counter is updated to point to the subsequent instruction in memory.