Compare with memory, Electrical Engineering

Compare with memory

The contents  of the memory  of the memory  location  pointed by HL  register pair are compared with the  contents of the accumulator. The  instruction format is

CMP M        (A- [ HL])

The contents  of the both  the operand memory  location  and the  accumulator do not change. The flags  are modified  similar  to subtraction.

Flags : All flags  are modified  but he conclusion can be  made only by CY and  Z flag   as shown  below.

If A> M : CUY and Z flag are reset

IF a = M : Z flag  is set and CY flag is reset.

IF A < M : CY  is set and Z flag is reset.

Posted Date: 4/5/2013 12:51:57 AM | Location : United States







Related Discussions:- Compare with memory, Assignment Help, Ask Question on Compare with memory, Get Answer, Expert's Help, Compare with memory Discussions

Write discussion on Compare with memory
Your posts are moderated
Related Questions
Q. Develop a schematic diagram of a system in which the D/A converter of Figure can be employed in a digital voltmeter.

Practical application of rc coupled amplifer

ON output plot of a JFET n-channel transistor if ID is close to IDSS does the value of VGS close to VP?

Q. Explain Thevenin and norton equivalent circuits? For a linear portion of a circuit consisting of ideal sources and linear resistors, the volt-ampere (v-i) relationship at an

What is meant by Wait State? This state is used by slow peripheral devices. The peripheral devices can transmitted the data to or from the microprocessor by using READY input l

Explain the term Industry Standard Architecture Bus. The Industry Standard Architecture, bus has been approximately since the very start of the IBM-compatible personal computer

Methods: A successful GIS operates according to a well-designed plan and business rules that are the models and operating practices unique to every organization. GIS gives i

OBJECTIVES OF NEP: Access to Electricity for whole households within the next five years. Availability of Power to be ensured to meet the demand through 2012. Pe

Q. Explain the principle of transistor phase shift oscillator? The phase shift oscillator consists of an inverting amplifier stage coupled to a three stage RC filter network. T

Explain implicit data addressing mode (with examples) available in microprocessors. Implicit Mode: Does not exactly give an operand. Instruction implicitly gives the o