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

Name the different methods used for data transmission, What are the differe...

What are the different types of methods used for data transmission? The data transmission among two points involves unidirectional or bi-directional transmission of meaningful

Button cells, what is a button cells and how is it used on a low current el...

what is a button cells and how is it used on a low current electronic circuit

Engineer, explain the alphanumeric codes

explain the alphanumeric codes

Explain charge-to-charge amplifier, Q. Explain Charge-to-Charge Amplifier ...

Q. Explain Charge-to-Charge Amplifier A circuit is shown in Figure in which there is a capacitor C1 in the - input line and a capacitor Cf in the feedback loop. KCL at node X g

Supernode, how does creating a supernode helps solve the problems?

how does creating a supernode helps solve the problems?

Which realization requires the least number of gates, Q. Consider a 1-bit v...

Q. Consider a 1-bit version of the digital comparator shown in Figure. Note that the operation of this circuit is such that whichever output is 1 gives the desired magnitude compar

Explain analog communication system, Q. Explain Analog communication system...

Q. Explain Analog communication system? Analog signals in an analog communication system can be transmitted directly via carrier modulation over the communication channel and d

Explain the types of power plants, Draw layout of hydro-electric power plan...

Draw layout of hydro-electric power plant and illustrate it briefly. Explain the following: a. Types of power plants b. Selection of power Plants

Find a state-variable formulation, Consider a system described by the coupl...

Consider a system described by the coupled difference equation y(k + 2) - ν(k) = 0 ν(k + 1) + y(k + 1) = u(k) where u(k) is the system input. (a) Find a state-variable

Find the rms induced voltage, A two-pole, three-phase, 60-Hz, wye-connected...

A two-pole, three-phase, 60-Hz, wye-connected, round-rotor synchronous generator has N a = 12 turns per phase in each armature phase winding and flux per pole of 0.8Wb. Find the r

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