Compare with register, Electrical Engineering

Assignment Help:

Compare with Register

The contents  of the register  are compared with  the contents  of the accumulator  here  register  may be  any one  of the  A, B, C, D E, H, or L  registers. The instruction format is

CMPR                          (A-R)

Actually the comparison is done  by subtracting  the contents  of the register from the  contents  of the  accumulator. The contents of the  register  and  the accumulator do not  change the  flags  are modified similar  to subtraction.

Flags : All flags  are modified  as they  would  change  in subtract  operation. But the  contents of both the  operand do  not change.

Although  all flags  are modified  but the  conclusion can be made only by CY and Z flag as shown  below

If A> R : CY  and Z flags  are reset.

IF A= R: Z Flag is set and  CY flag is reset.

IF A < R : CY  is set  and Z  flag s reset.

 


Related Discussions:- Compare with register

Show the amenability to computer processing, Q. Show the Amenability to com...

Q. Show the Amenability to computer processing? Due to the digital data collected and stored in the form of a matrix, the same becomes amenable to processing on computers. By f

Neutral line in transformer, thus secondary winding of transformer consists...

thus secondary winding of transformer consists of neutral line or not?

Discuss the foreign exchange market equilibrium, Q. To answer the following...

Q. To answer the following question, please refer to the figure below. Concentrating only at the upper right quadrant, discuss the foreign exchange market equilibrium. Answer:

Hybrid model for two-port network, Hybrid Model for Two-port Network:- ...

Hybrid Model for Two-port Network:-             V 1 = h 11 i 1 + h 12 V 2                                                                             I 2 = h 1 i 1

Calculate the amplitude of the dc component, A periodic voltage consists of...

A periodic voltage consists of sinusoidal pulses having an amplitude of 150 V (SEE DIAGRAM BELOW). Use Fourier Series Expansion to calculate: 1.       the amplitude of the DC co

Purpose of compensation and space charge neutrality, My question about abov...

My question about above topic is"what is the use of the of this process" why we do compensation and space charge carrier

Find the voltage ratio, Q. (a) Two amplifiers, which can be represented by ...

Q. (a) Two amplifiers, which can be represented by the model of Figure of the text, are connected in cascade (that is, head to tail), as shown in Figure. Let their parameters be R

Gis based mapping of electrical network, GIS Based Mapping of Electrical Ne...

GIS Based Mapping of Electrical Network: You have learnt in which the Geographic Information System is a system of mapping of the complete electrical network. The question we

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