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.
reason: To produce a cycle in the program.
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.
reason: To produce a cycle in the program considering the position of ZF.
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.
reason: To produce a cycle in the program, considering the state of ZF.
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
Write an alogorithm to calculate the right angled triangle

2000word how much

i am currently studying my computer science engineering 2nd yr. i am unable to select what specification should i take please help me

Question: a) Illustrate, in detail, what is virtual memory? b) The Memory Management Unit is responsible for the translation of virtual addresses to their corresponding phy

Problem A) The TCP/IP reference model is the network model used in the current Internet architecture. This model is derived from the OSI model and they are relatively same in n

Browser Cookies: A cookie is a small message sent by the Web server to a your web client. This message is stored by the browser as a text file. The basic purpose of cookie is

write and run the following programs using 8086 assembly language that interchange the upper and lower four bits of AL register.

The microprocessor is at times referred to as the ''brain'' of the personal computer, and is responsible for the processing of the instructions which creates computer software. It

Database Management Software: For storage of large amounts of varied data, and rapid retrieval and interpretations of data, the database is the ideal tool. It is most useful for s

Languages The language is a program containing rules and guidelines to help us in making programs. There are various languages like C, Basic, COBOL, PASCAL, FORTRAN etc. Th