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
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

RISC Characteristics : The  concept  of  RISC  architecture  include  an  attempt  to  reduce  execution  time  by make  simple  the instruction set of the computer. The main c

Execution Unit (EU) and Bus Interface Unit (BIU) : 8086 consist of two processors called EU and BIU. Two Processors can work parallel. This improves speed of execution. BIU fi

How to define procedures?

Write an assembly language program to perform a rot13 1 conversion on characters in a text file.  The program should read charatcers from the input file, perform the rot13 convers

AAA: ASCII Adjust after Addition operation the AAA instruction is executed after an ADD instruction that adds 2 ASCII coded operands to give a byte of outcome in the AL. The AAA i

Develop an assembly language program for the system and simulate it using MPLAB. From this produce a demo program (in Assembly language) that will run on the MatrixMultimedia Devel

CMPS : Compare String Byte or String Word:-The CMPS instruction may be utilized to compare two strings of Words or byte. The length of the string ought to be stored in the CX. If

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

There are 3 kinds of OCWs. The command word OCWI is utilized for masking the interrupt requests; when the mask bit corresponding to an interrupt request is value 1, then the requ