The instruction cycle is the basic operation cycle in a computer. This is what will take in data, process it and execute as required.
Special restart instruction used with interrupts
software interrupts
how many interrupts in 8051
Mbr<-pc mar<-x pc<-y memory<-mbr
an instruction cycle may consist of a number of machine cycles.
There are four phase of an instruction cycle namely: fetch; indirect; execute; write.
An instruction cycle is the rudimentary operation cycle of any computer. It involves the CPU fetching a program from memory and executing it fully.
The instruction register holds a pointer to the current instruction (in working memory) while the next instruction register points to the next instruction (the first instruction immediately after the current instruction's operands). If the current instruction is a jump instruction, it can change the next instruction register, allowing the program to branch to a new instruction once the jump instruction is processed. The next instruction pointer is automatically moved into the current instruction register once the current instruction has been processed. The entire process of executing an instruction is known as the fetch-decode-execute cycle.
The 8085 does not have an adjustable priority interrupt schema. You can only turn interrupts off, and mask certain interrupts, such as RST5.5, RST6.5, and RST7.5. However, that said, you can implement a priority schema, of sorts, within these interrupts, including INTR, by using the SIM instruction. You can't change the basic priority but you can disable certain interrupts while others are being serviced, if you so choose.
Fetch
A maskable hardware interrupt is one that can be disabled, or masked, by instructions in the CPU. In the 8085, all interupts except TRAP and (software) RST N can be masked by disabling interrupts, and RST7.5, RST6.5, and RST5.5 can be individually masked with the SIM (Set Interrupt Mask) instruction. In general, you leave interrupts disabled until one instruction before returning. In the case of the RST*.5 interrupts, you can mask it during interrupt processing and then enable interrupts, allowing other levels to interrupt you again. At the conclusion of the interrupt routine, you would disable interrupts, restore the mask, enable interrupts, and return. If you use this method, you can choose the nesting priority as desired. You determine what mask to set using the RIM (Read Interrupt Mask) instruction and then do bit manipulation before using SIM.
Bus cycle refers to the process of transferring data between the CPU and memory or peripherals, while instruction cycle refers to the series of steps that the CPU goes through to fetch, decode, and execute instructions. In other words, bus cycle involves the movement of data, while instruction cycle involves the actual execution of instructions.