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
Assembly Language Example Programs We studied the entire instruction set of 8086/88, pseudo-ops and assembler directives. We have explained the process of entering an assembly

Assume that the registers are initialized to EAX=12345h,EBX =9528h ECX=1275h,EDX=3001h sub AH,AH sub DH,DH mov DL,AL mov CL,3 shl DX,CL shl AX,1 add DX,AX

Computes the integral square root: Problem: Square Root:   For this problem you will write a short assembly program that computes the integral square root of an input numb

Why is the capability to relocate processes desirable?

Flag Manipulation and Processor Control Instructions These instructions control the functioning of available hardware inside the processor chip. These are categorized into thes

Linking a program The DOS linking program LINK.EXE links the different object modules of function library routines and source program to produce an integrated executable code o

LDS/LES Instruction execution :  LAHF : Load AH from Lower Byte of Flag: - This instruction loads the AH register with the lower byte of the flag register. This instruction ca

move a byte string ,16 bytes long from the offset 0200H to 0300H in the segment 7000H

I need to generate a random number bby using 8086 assembly language