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
Explain all of your steps and follow a logical train of thought. Clearly describe all design rationale. 1)  Design a device to deliver a sinusoidal 500kHz pulse through a piezoe

how do you get better at school

The automobile shall not rely on fossil fuel for energy. The automobile shall be designed using available and emerging technology. The automobile shall seat at least five

a. Describe the meaning of standing wave ratio. What is the formula for it, if the load is purely resistive? Why is a high value of SWR often undesirable? b. Determine how the c

Q. Error speci?cations on a 10-A digital ammeter are given as 0.07% of the reading, 0.05% of full scale, 0.005% of the reading per degree Celsius, and 0.002% of full scale per degr

Ask qu1. If the resistor Radj is adjusted to 175O what is the rotational speed of the motor at no-load conditions? 2. Assuming no armature reaction, what is the speed of the motor

describe the working and construction diagram of nicholas prism

Question: (a) An FSK Scheme is used in a wireless transmission with the data bits 1011010. With the help of a labeled diagram, describe in detail the final output of the MSK

Define permanent magnet A permanent magnet is a piece of ferromagnetic material (like as iron, nickel or cobalt) which has properties of attracting several pieces of these mater