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
What is meant by polling? In polling schemes, a set of address lines is driven by the controller to address every of the masters in sequence. When a bus request is received fro


Aplication of resonance in different divices

Q. Draw and explain a monostable multivibrator ? The monostable configuration consists of two amplifier stages interconnected in such a manner as to possess one stable state. T

Q. A silicon BJT has an emitter current of 5m Aat 300 K when the BEJ is forward-biased by vBE = 0.7 V. Find the reverse saturation current of the BEJ. Neglecting ICBO, calculate iC

Explain pnp transistor circuit . pnp transistor: A transistor consist of  three terminals. In this pnp transistor there is two blocks of p- type semiconductors that are separa

Q. Using two 8-to-1multiplexers and one 2-to-1multiplexer, show how a 16-to-1 multiplexer can be obtained in the form of a block diagram.

WHAT IS MIDPOINT BIASING OF A TRANSISTOR?

Q. In an RLC series circuit excited by a voltage source v(t), for R = 10 , L = 1 H, and C = 0.1F, determine v(t) if the capacitor voltage vC(t) = 5e -10t V.

Plug and Socket Condition : In the same way that your knowledge of flexes and fuses is wasted if you don't care to ensure that flexes and cables are routed safely and sensibly, so