Iret-loop-unconditional branch instruction-microprocessor, Assembly Language

IRET : Return from ISR:-

When an interrupt service routine is called, before transferring control to it, the IP, CS  register and flag registers are stored in the stack to mention the location from where the execution is to be continued, after the ISR is executed. Hence, in the ending of each ISR, when IRET is executed, the values of IP, CS register and flags are retrieved from the stack to continue the execution of the main program. The stack is modified consequently.


LOOP :
Loop Unconditionally:-

This instruction executes the part of the program from the address or label mention in the instruction up to the loop instruction, CX number of  times. Following sequence describe the execution. On every iteration, register CX is decremented automatically. In other terms, this instruction implements JUMF IF NOT ZERO and DECREMENT COUNTER structure.

1285_LOOP.jpg

The execution proceeds in the sequence, after the loop is executed, CX number of times. Lf CX is already OOH, the execution continues in sequence. Flags are remaining unaffected by this instruction.

 

Posted Date: 10/12/2012 4:16:23 AM | Location : United States







Related Discussions:- Iret-loop-unconditional branch instruction-microprocessor, Assignment Help, Ask Question on Iret-loop-unconditional branch instruction-microprocessor, Get Answer, Expert's Help, Iret-loop-unconditional branch instruction-microprocessor Discussions

Write discussion on Iret-loop-unconditional branch instruction-microprocessor
Your posts are moderated
Related Questions
The main objective of the assignment is to explore the knowledge regarding parallel ports of a computer system. You can read and write datato/from the parallel port using IN and OU

I can get it to copy the string but can''t get it to reverse it.

String Manipulation Instruction A series of words or data bytes are available in memory at consecutive locations, to be mention to individually or collectively, are known as by

Modes of 8254 :   Mode 0 (Interrupt on Terminal Count)-GATE which value is 1 enables counting and GATE  which value is 0 disables counting, and GATE put not effect on


Ask question #MinimuWHAT ARE CONSTANTS AND WHAT DO THEY DO?m 100 words accepted#

#question. counters using 8051.

Any small project which can implement on any software. No need any external hardware approach.

2. Write a program to separate out positive and negative numbers from a given series of 16-bit hexadecimal numbers.

IInd Generation Microprocessor : The second generation microprocessor by using n MOS technology seemed in the market in 1973.   The Intel  8080, of nMOS  technology