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
Im doing my final year project and Im stuck in vhdl coding. The main mission of this project is to design and build a tap changer which is going to be fitted to power transformers

Sing Flag If D7  ( bit left  most bit)  of accumulator  (which  some  exceptions) is 1 as a result  of any  arithmetical  or logical operations sign flag  is set ( bit  corresp

Diode current: Zener region: when the reverse biased voltage is increase to a very high value then a point is reached where will is suddenly going a very high value. Th

Discuss DOS function call with one example. DOS function call: So as to use DOS function calls, always place the function number in register AH and load all other pertinent

Define the second group of 32 ASCII character codes? The second group of 32 ASCII character codes include various punctuation symbols, special characters, and the numeric digit

#quest explain cro..

Q. Show that the image frequency for an FM station does not fall in the range of 88.1-107.9 MHz, regardless of the choice of high- or low-side local oscillator.

Q. Explain the working of Rectifier Circuits? A simple half-wave rectifier using an ideal diode is shown in Figure(a). The sinusoidal source voltage v S is shown in Figure (b)

Q. A charge q(t) = 50+1.0t C ?ows into an electric component. Find the current ?ow.

Q. Show how the conservation of power is satisfied by the circuit of Figure.