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

Calculate the guage pressure, Questions: Part (a) A compressor inst...

Questions: Part (a) A compressor installed at a wharf (for loading container ships) is able to provide 6 bar.g pressure into the pressure receiver. The compressor is moved

Grade of service in loss systems, Q. Grade of Service In loss systems? ...

Q. Grade of Service In loss systems? Grade of Service : In loss systems, traffic carried by the network is normally lower than actual traffic offered to the network by subscri

The resistance of an 8 m length of the same wire, The resistance of a 5 m l...

The resistance of a 5 m length of wire is 600Ω.Determine: a)  the resistance of an 8 m length of the same wire, b)  the length of the same wire when the resistance is 420Ω

Electric Machines, Ask questiDesing a suitable double - layer lap windingon...

Ask questiDesing a suitable double - layer lap windingon #Minimum 100 words accepted#

Explain about for loop construct, Q. Explain about For Loop Construct? ...

Q. Explain about For Loop Construct? The loop build causes the for loop to be splitted into portions and portions shared amongst threads in team. The syntax of loop construct

Load balancing and load management, Load Balancing and Load Management ...

Load Balancing and Load Management It has been observed in which the load on all three phases of a distribution line and between the feeders is not balanced. This output in in

Determine the magnetic force on the current element, Q. Given ¯B = (y ¯ax -...

Q. Given ¯B = (y ¯ax - x ¯ay )/(x 2 + y 2 ) T, determine the magnetic force on the current element Id ¯l = 5 × 0.001¯a A located at (3,4,2).

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:

Compute the efficiency at one-half load, Q. A certain 10-hp, 230-V motor ha...

Q. A certain 10-hp, 230-V motor has a rotational loss of 600 W, a stator copper loss of 350 W, a rotor copper loss of 350 W, and a stray load loss of 50 W. It is not known whether

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