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
CAN U GIVE BRIEF THEORY

I need a division subroutine. Asks for two inputs, then displays the inputs and shows the answer with a remainder. Mine isnt displaying the inputs correctly.

write and run a programme using 8086 assembly language that interchange the lower four bits of AL registered with upper four bits.

1- Write an assembly program that:   a- Defines an array of 10 (word type)elements;   b- Finds out the number of negative elements   c- Calculate the summation of the posi

ORG : Origin:- The ORG directive directs the assembler to begin the memory allotment for the specific segment, code or block from the declared  address in the ORG  statement. W

LIST p=18f4550 #include org 0x0000 movlw 0x00 _________ movlw 0xFF movwf PORTB end .

PC Bus and Interrupt System The PC Bus utilized a bus controller, address latches, and data transceivers (bidirectional data buffers). 1) Bus controller : ( Intel 8288 Bus

MLIL: Unsigned Multiplication Byte or Word: This instruction multiplies an unsigned byte or word by the contents of the AL. The unsigned byte or word can be in any one of the gene

The addressing modes for the sequential control transfer instructions are described below:   1. Immediate: Immediate data is a part of instruction,in this type of addressin

write a program that calculates the fibonacci series: except for the first two numbers in the sequence