Compare with memory, Electrical Engineering

Assignment Help:

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.


Related Discussions:- Compare with memory

Gas hazards in the laboratory, GAS HAZARDS IN THE LABORATORY : As mentione...

GAS HAZARDS IN THE LABORATORY : As mentioned in the introduction of this unit, the gas hazards in a laboratory arise from LPG and other compressed gases. Though the use of gas for

What is stored program control, Q. What is Stored Program Control ? Sto...

Q. What is Stored Program Control ? Stored Program Control:Modern digital computers use stored programmed concept. Here, a program or a set of instructions to the computer is s

Lossy transmission line, Q. The model of an elemental length of a lossy tra...

Q. The model of an elemental length of a lossy transmission line is shown in Figure (a), along with its parameters, where R is series resistance per unit length, L is serie

Calculate the antenna aperture area, Q. Amicrowave relay systemuses two ide...

Q. Amicrowave relay systemuses two identical horn antennas mounted on towers spaced 40 km apart. If f c = 6 GHz, and each relay hop has L = 60 dB, calculate the antenna aperture a

Add register and carry with accumulator, Add Register and Carry with Accumu...

Add Register and Carry with Accumulator The contents  of register R and the  carry flag are added to the  contents of the  accumulator  and result of  addition  is also  sto

Can you explain about slew rate, Q. Can you explain about Slew Rate? Sl...

Q. Can you explain about Slew Rate? Slew (or slewing) rate is a measure of how fast the output voltage can change. It is given by the maximum value of dvo/dt , which is normall

Sketch the circuit with all the relevant labelling, Question: (a) Consi...

Question: (a) Consider the subsequent LC impedance function: (i) If the function is to be realised using the Foster I Form, evaluate the values of the different compon

Interfaced 2k x 8 eprom with multiple input nand gate, Interfaced 2k X 8 (i...

Interfaced 2k X 8 (i.e 2716) EPROM using multiple input NAND gate decoder for memory locations FF800H-FFFFFH. Simple NAND gate Decoder:  While the 2k x 8 EPROM is used so addre

Three phase transformer., Dry type 10KVA-3ph-440/230v Dyn11. If we decide t...

Dry type 10KVA-3ph-440/230v Dyn11. If we decide to wound above such specification, what current to be taken i.e. phase current or line current 7.57A or 13.12A

Evaluate the diode current id, Question: (a) The piecewise linear appro...

Question: (a) The piecewise linear approximation given in Figure is assumed for the diode in the circuit shown in Figure. Evaluate the diode current ID. (b) The piecew

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd