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
LKI  Load Register pair  Immediate  Instruction This instruction is used to copy or  load  16 bit  data specified  in the  instruction  directly into  the register pair. The i

Give some applications of constantan. Constantan is an alloy of nickel and copper. It is used in thermocouples, motor starters and precision resistors.

matlap code to solve the fast decoupled method

Q. Show Maximum Common-Mode Input Voltage of amplifier? This is the maximum voltage that the two inputs can be raised above ground potential before the op amp becomes nonlinear

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


Development tool for SDR i.e software defined radio

The focal length of a concave spherical mirror is equal to 1 meter. What is the radius of curvature of this mirror? Ans: The radius of curvature of this mirror is 2 meter.

What are tightly coupled systems or closely coupled systems? In a tightly coupled systems the microprocessor (either coprocessor or independent processors) might be share a com

Techniques and resources Different techniques and resources were used in different areas of the problem during the course of the project. The most important of them was th