answersLogoWhite

0

The CMPS instruction in the 8086/8088 is compare string. It iterates until CX is zero, or [DS:SI] is not equal to [ES:DI], incrementing (or decrementing if DF is set) SI and DI, and decrementing CX along the way.

User Avatar

Wiki User

15y ago

What else can I help you with?

Continue Learning about Engineering

What is orthogonality in a programming language?

In computer programming, orthogonality in a programming language means that a relatively small set of primitive constructs can be combined in a relatively small number of ways to build the control and data structures of the language. The term is most-frequently used regarding assembly instruction sets, as orthogonal instruction set.


What are pseudo code in 8086?

Pseudocode is code that is not specific to any architecture nor programming language. It is intended to be human-readable, not machine-readable, and is primarily used to demonstrate the operating principals of an algorithm in a high-level format suitable for any architecture and any language. The 8086 is a specific architecture, so any code produced specifically for it cannot be regarded as being pseudocode since it would have to be in a machine-readable form.


Application of 8086 microprocessor?

It is used for various instruction set and interrupt systems also. They were a popular, early, microprocessor commonly embedded in washing machines and domestic appliances, to replace mechanical timers and interlocks.


C A programming language widely used for systems programming?

Yes.


Is 8051 programming is a programming language?

8051 programming refers to the Intel 8051 micro-controller. This is a small computer on a single chip having electronic input output that is used to control simple machinery.The 8051 uses an instruction set consisting of binary codes and data that may be used to describe the algorithms that the microprocessor runs. These instructions are published by Intel with a set of mnemonic words that are designed to enable the programmer to remember the instructions. These mnemonics are not part of a formal programming language because they have no syntax apart from the instruction and data values for each command that the processor might execute.The instructions could be placed in any order such that no particular algorithm is expressed.A formal programming language however requires structure and syntax that describes the algorithm as an abstract concept apart from the system that might run the program. A programming language, such as C, C# or Java will be portable across machines but 8051 assembly code will only run on that processor.In short then, the 8051 assembly code is not a programming language as such.

Related Questions

Explain how int 21h can be used for input output in 8086 microprocessor?

The INT 21H instruction in the 8086 is a software interrupt to vector 21H. In order for it to be used for input/output, the programming that responds to INT 21H must be present. This is part of the Operating System.


Difference between code segment and data segment of an instruction?

In the 8086/8088 microprocessor, the code segment is used to fetch the opcode and any additional instruction bytes that might be part of the instruction, while the data segment is used to fetch and/or store any operand bytes that the instruction requires to be manipulated.This is in the case of no segment override prefix.


Which IC is used as clock generator in 8086?

The 8086 Microprocessor operate to require frequency that is provided by clock generator to 8086 Microprocessor and also Synchronization various component of 8086.


What is the use of 'lock' statement?

The lock prefix on the 8086/8088 prevents any other bus master from accessing the bus during this instruction, even if this instruction is a multiple access instruction. It assures atomicity and data consistency in a multi-computer environment, but only for a single instruction. It is generally used to manipulate a mutex or semaphore.


What is orthogonality in a programming language?

In computer programming, orthogonality in a programming language means that a relatively small set of primitive constructs can be combined in a relatively small number of ways to build the control and data structures of the language. The term is most-frequently used regarding assembly instruction sets, as orthogonal instruction set.


When does the overflow flag in 8086 set?

In the 8086/8088, the overflow flag is set when the result of an arithmetic instruction exceeds the bounds of the signed representation of a number. This is not the same as the carry flag, which is used for the unsigned representation. Both flags get set as needed. You decide which one to pay attention to.


What is TEST pin in 8086 in microprocessor?

TEST This input is examined by a 'WAIT' instruction. If the TEST input goes low, execution will continue, else, the processor remains in an idle state. The input is synchronized internally during each clock cycle on leading edge of clock.


Why test pin used when ready pin is already exist in 8086?

The READY pin is used to synchronize memory, and is applicable to every memory operation. The TEST pin is used to synchronize external logic and is specific to the WAIT instruction.


What does jno stand for?

"JNO" is a mnemonic used in assembly language programming to represent the "jump if not overflow" instruction. This instruction is used to conditionally transfer control to another part of the program based on the status of the CPU overflow flag.


Is there software taht can teach me how to program?

There is no one program used to teach programming. There are many programming languages so there is one way to learn programming. You normally use the program that you are learning to program in using a book and instruction as to how the language works.


What is the addressing modes 8086?

The operand addressing modes of the 8086/8088 are ...ImmediateRegisterDirectIndirectWithin the Indirect category there is ...BaseIndexBase + IndexBase + DisplacementIndex + DisplacementBase + Index + Displacement


Which one launch first 8088 or 8086?

1978 - 8086 1979 - 8088 First IBM PC used 8088. I think later low end IBM PC's used 8086.