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
SHORT  : The  SHORT operator denoted to the assembler that only one byte is needed to code the displacement for a jump (for example displacement is within -128 to +127 bytes fr

The Alpha : The development of the Alpha chip start in the year 1988 The new chip used 64 bit technology, let users to pack  more  complexity  into  their  programs  than  exis

CBW: Convert Signed Byte to Word: This instruction converts a signed byte to a signed word. In other terms, it copies the sign bit of a byte to be converted to all of the bits in

Assembly Code for Reading Flow & Generating Serial Output The timer is timer 1 is set for the baud rate 9600, as the crystal used is of 11.0592 Hz.  Then the timer 1 is starte

Write a program to do the following: 1. Print your name 2. Using a bottom testing loop, prompt the user to enter a number from 1 to 5.  If the number entered is not 1..5, pri

http://www.raritanval.edu/uploadedFiles/faculty/cs/full-time/Brower/CISY256/2013Spring/CISY256%20Assembly%20Project.pdf

to separate positive and negative numbers

Display control 8279  provides  a  16  byte  display  memory  and  refresh  logic.  Every address in the display memory corresponds to a display unit with address zero represen

Queue Operation :   RQ/CT0, RQ/G1-Request/Grant:   These pins are utilized by other local bus masters, in themaximum mode, to force the processor to release the loca

Overview of Intel Pro-Pentium : The 2 chief players in the PC CPU market are Motorola and Intel.  Intel has enjoyed incredible success with its processors since the early 1980