Rep-string manipulation instruction-microprocessor, Assembly Language

REP : Repeat Instruction Prefix :-

This instruction is utilized as a prefix to other instructions. The instruction in which the REP prefix is provided, is executed repetitively till the CX becomes zero (at each iteration registration CX is automatically decremented by one). When the register CX value will be zero, the execution proceeds to the next instruction sequentially. There are 2 more choice of the REP instruction. The first is REPE/REPZ, for example. Repeat operation while zero/equal. The second is REPNE/REPNZ permit for repeating the operation while not zero/not equal. These choices are utilized as instruction prefixes for CMPS, SCAS instructions only.

Posted Date: 10/12/2012 3:22:13 AM | Location : United States







Related Discussions:- Rep-string manipulation instruction-microprocessor, Assignment Help, Ask Question on Rep-string manipulation instruction-microprocessor, Get Answer, Expert's Help, Rep-string manipulation instruction-microprocessor Discussions

Write discussion on Rep-string manipulation instruction-microprocessor
Your posts are moderated
Related Questions
8086 Minimum mode System and Timing In a minimum mode 8086 system, the microprocessor 8086 is operated in minimum mode by strapping its MN/MX pin to logic 1.All the control si

Write a procedure to read a text file and copy its contents to another text file using 8086 assembly language .

DAA: Decimal Adjust Accumulator:- This instruction is utilized to convert the result of the addition operation of 2 packed BCD numbers to a valid BCD number. The conclusion has to

The problem to be solved and implemented with an ARM assembly language program You are asked to do some image processing on an image composed of characters shaped in For exa

1. The microwave has a clock (hh:mm:ss am/pm) and the user should be able to change the clock at any time. 2. For cooking the user should first enter the time. The user can ente

Write an assembly language program to find the maximum of: y = x 6 - 14x 2 + 56x for the range -2 ≤ x ≤ 4, by stepping one by one through the range. The program should in

XOR: Logical Exclusive OR: The XOR operation is again carried out in a similar way to the AND and OR operation. The constraint over operands are also similar. The XOR operation pr

Develop a suitable schematic circuit diagram of your system showing the interface between the PIC16F84 and the existing mains light & switch, including 5V derivation from the 240V

Assembling a program Microsoft Assembler MASM is one of the simple to use and famous assemblers.  All the references and discussions in this section are belonging to the MASM.

The Pentium Pro    Introduced in the year 1995, the Pentium Pro reflected  still  more  design  breakthroughs.  The Pentium Pro may process 3 instructions in a single clock cy