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
Outdoor Patient Department (OPD) Features The following modules can be developed for various areas and workers. A receptionist Module Receptionist updates all bas

Arithmetic and Logic Unit: The Arithmetic and Logic Unit is that part of the CPU that actually performs arithmetic and logical operations on data. The CU, CPU registers and me

2. What benefits can a company gain by managing its own information infrastructure and services?

2000word how much

Server Programs:   Server programs are dedicated computer programs that run as services and serve the needs or requests of other programs. These services may run on a dedicated

Earlier than anything we must describe the file transfer area or DTA. With the intention of sequentially read we use the 14H function of the 21Hinterruption.The register to be read

Question 1 Briefly explain the Stage and the Timeline Question 2 What is Device Central? How it is useful for previewing mobile content? Question 3 Which are the f

Question 1 Explain any five different types of computers Question 2 Describe Bus Type LAN. Its disadvantages and advantages and examples Question 3 Describe the

DIAGRMS OF TYPES OF LOCAL AREA NETWORK