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
You are to create an assembly program for the MSP430 that correctly measures the wind direction, to a precision of 45° (N, NW, W, SW, S, SE, E, NE), using the MSP430's ADC. Your

Hand shaking : Handshaking, or 2-way handshaking, is 1 type of strobe operation. It typically involves 2 handshaking lines: an output line to denote when the board is ready an

ALP to preform of two 16-bit numbers in register addressing mode

MOVSW/MOVSB : Move String Word or String Byte: Imagine a string of bytes, stored in a set  of consecutive memory locations is to be moved to another set of  the destination locati

how we can take permission

1. Write a program that calculates the Fibonacci series: 1, 1, 2, 3, 5, 8, 13, ….. (Except for the first two numbers in the sequence, each number is the sum of the preceding two n

Write an assembly program that adds the elements in the odd indices of the following array. Use LOOP. What is the final value in the register?

i have trying to do the homework but there is a mistake. (Counting positive and negative numbers and computing the average of numbers) write a program that reads an unspecified nu

Write a program to evaluate the following expression. You are to evaluate the following equation: num1 - (input + num2) - (num3 + num4) Input will be a hex number input by