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''s robust?

The five stages of DLX pipeline is:- ? Operand location ? Number of explicit operands per instruction ? Operand storage in the CPU ? Operations ? Type and size of o

Consider the following mechanical system: a) Write a differential equation that describes the motion for this system. b) Take the Laplace transform of this equation and

what is the working of thermal transducers?

Describe the physical properties and uses of the Brasses. Brass - It is an alloy of copper and zinc along with 60 percent copper and 40 percent zinc. Its properties are- 1.

Determine RMS and average value: Determine RMS and average value of the output of half wave rectifier. Solution The waveform of current, output of the half wave rectif

why armature lamination notched in outer periphery

What are loosely coupled systems? In loosely coupled systems every CPU may have its own bus control logic. The bus arbitration is handled by an external circuit, common to all

Space communication - Application of Software Defined Radio Software defined radio can save cost of missions while constructing multiple mode, multiple band radio systems that