Instructions for cycles: loop, Basic Computer Science

They transfer the process flow, provisionally or totally, to a destiny, replicating this action until the counter is zero.
LOOP
LOOPE
LOOPNE
LOOP INSTRUCTION
reason: To produce a cycle in the program.
Syntax:
LOOP label
The loop instruction reduces CX on 1, and transfers the flow of the program to the label specified as operator if CX is different than 1.
LOOPE INSTRUCTION
reason: To produce a cycle in the program considering the position of ZF.
Syntax:
LOOPE label
This instruction reduces CX by 1. If CX is different to zero and ZF is equal to 1, then the flow of the program is transferred to the label pointed to as operator.
LOOPNE INSTRUCTION
reason: To produce a cycle in the program, considering the state of ZF.
Syntax:
LOOPNE label
This instruction reduces one from CX and transfers the flow of the program only if ZF is different to 0.
Posted Date: 5/4/2012 7:13:24 AM | Location : United States







Related Discussions:- Instructions for cycles: loop, Assignment Help, Ask Question on Instructions for cycles: loop, Get Answer, Expert's Help, Instructions for cycles: loop Discussions

Write discussion on Instructions for cycles: loop
Your posts are moderated
Related Questions
Question 1 Write a note on modems Question 2 What are the Safe Chatting Rules Question 3 Explain three basic kinds of hypertext links Question 4 Write a no

QUESTION (a) What is an abstract data type? (b) Give two limitations of the array implementation of lists. (c) Give the major disadvantage of the dynamic implementation o

Question 1 Convert the following binary numbers to decimal 101110 1110101 110110 101010 110010 Question 2 Explain CPU module and types of transfers betwe

function to delete a telephone book record in c programing using struct and objects...?

Question 1 Explain the role of object oriented designers in developing a software system Question 2 What are the four essential elements of design patterns? Explain Question 3

Question 1 Consider the one-time pad encryption scheme to encrypt a 1-bit message m, and assume m is chosen with uniform distribution from message space M={0,1}. Let E1 be the eve

QUESTION Consider a University system which has several sub systems: Student Registration Module Registration Time Tabling Library System Human Resource Manag

The Widening Web The idea, the whole world is agog now had accidental origins. Here is how it all began. In early 1969, the U.S. Defence department financed a network fo

How to crete a web page name esp.html that allows users to conduct an ESP test

different types of software interfaces which falls in different categories