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
Aloudspeaker is a common electrochemical transducer in which vibration is caused by changes in the input current to a coil which, in turn, is coupled to a magnetic structure that c

Q. Counter-controlled analog to digital converter? Figure shows the block diagram of a counter-controlledA/Dconverter. Resetting the binary counter to zero produces D/A output

A synchronous generator has a rotor with six poles and operates at 60 Hz. (a) Determine the speed of prime mover of the generator. (b) Repeat part (a) if the generator has 12

Name the materials used in case of Solder and give reasons. Solder : For soft solders tin, lead (in 50-50 ratio) alloy and for hard solders copper- zinc and silver alloy

Semiconductor Devices: We have studied semiconductor devices. Firstly, we understand what semiconductors in terms of energy band diagrams are. Then we understand what is dopin

Q What is a clipper? Describe the operation of a biased clipper and combination clipper. The circuit with which the waveform is shaped by removing (or clipping) a portion of th


Q. Dynamic Response of Control Systems? The existence of transients (and associated oscillations) is a characteristic of systems that possess energy-storage elements and that a

Programming languages As we  have seen  the evolution of computer  hardware  similarly  programming  languages also  have their  history  of development from  machine  language

Q. A 60-Hz, 440-V, three-phase system feeds two balanced wye-connected loads in parallel. One load has a per-phase impedance of 8 + j3  and the other 4 - j1 . Compute the real po