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. What is an amplifier? What are the various types of amplifiers? AMPLIFIER: A circuit that increases the amplitude of the given input signal is an amplifier. A small a.c. sig


Time constant Time constant, defines as time for current achieve maximum (IM) if this maintain the early promotion rate current.

When both MT 2 and Gate  are Negative In this case N 3   works as a remote gate. Current  flows form layer P 2 to layer  N 3 junction N 1 P 1 is reverse biased  and it  br

1. The coil remaining stationary with respect to the flux, the flux varies in magnitude with time. Since no motion is involved, no energy conversion takes place. Equation gives the

Q. The input to the differentiator circuit is a sinusoidal voltage of peak value 5mv and frequency 1kHZ. find out the output if R=100K and C=10^-6F Solution. The equation

An industrial plant consumes 500 kWat a lagging power factor of 0.6. (a) Find the required kVA rating of a synchronous capacitor to improve the power factor to 0.9. (b) If a

Q. For the circuit shown in Figure(a), determine the diode current and voltage and the power delivered by the voltage source. The diode characteristic is given in Figure.

A selection form an application's menu, or a command typed in by the user, like at a DOS prompt or at the Run dialog box in Windows.