SKYSPIN
These type of instructions control machine functions such as Halt,
Interrupt, or do nothing. This type of instructions alters the
different type of operations executed in the processor.
Following are the type of Machine control instructions:
The Microprocessor finishes executing the current instruction and halts any further execution. The contents of the registers are unaffected during the HLT state.
Machine Control Instructions in Microprocessor
Following are the type of Machine control instructions:
NOP (No operation) –
It is used when no operation is performed. No flags are affected during
the execution of NOP. The instructon is used to fill in time delay or to
delete and insert instructions while troubleshooting.
HLT (Halt and enter wait state) –
The Microprocessor finishes executing the current instruction and halts any further execution. The contents of the registers are unaffected during the HLT state.
DI (Disable interrupts) –
Disable interrupt is used when the execution of a code sequence cannot be interrupted. For example, in critical time delays, this instruction is used at the beginning of the code and the interrupts are enabled at the end of the code. The 8085 TRAP cannot be disabled.
EI (Enable interrupts) –
After a system reset or the acknowledgement of an interrupt, the Interrupt Enable the flip-flop is reset, thus disabling the interrupts.
SIM (Set interrupt mask) –
This SIM instruction is used to implementation of different interrupts of 8085 microprocessor like RST 7.5, 6.5 and 5.5 and also serial data output. It does not affect TRAP interrupt.
RIM (Reset interrupt mask) –
This is a multipurpose instruction used to read the status of 8085 interrupts 7.5, 6.5, 5.5 and to read serial data input bit.
0 Comments