Cpi compare immediate instruction , Electrical Engineering

Assignment Help:

CPI Compare Immediate Instruction

The 8 bit  data  specified  in the  instruction is  compared with the  contents of the accumulator. The comparison  is done by  subtracting  the 8 bit data form  the contents of the accumulator the  contents of the accumulator d not  change. The flags are modified similar  to subtraction. The instruction format is

CPI 8 bit data                    (A- 8bit data )

Flags : All  flags are modified as they would  change  in subtract operation but the  content of  both  the operand do no to change.

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

IF A> 8 bit data CY and Z Flags are reset.

IF A =8 bit  data Z flag  is set and CY flag is reset.

IF A < 8 bit  CY is set and Z  flag is  reset.


Related Discussions:- Cpi compare immediate instruction

Plagiarised Content, Your site is full of plagiarised content even though y...

Your site is full of plagiarised content even though you claim to be and I quote "Plagiarism Free". You should not be charging for this content, the site and service is a fraud.

Semiconductors, Why do potential barriers breaks when a breakdown voltage i...

Why do potential barriers breaks when a breakdown voltage is application to semiconductor

Continuity equations, Continuity Equations These equations are fundame...

Continuity Equations These equations are fundamentally particle conservation equations: Electron continuity equation:  ∂n /∂t = (1/q) (∂j N / ∂X) + G N - R N Hole c

How a transistor in common-base configuration amplify signal, Q. With a cir...

Q. With a circuit diagram explain how a transistor in common-base configuration amplify signals.  The common-base terminology is derived from the fact that the base is common t

Elementary induction machines, Elementary Induction Machines In the dis...

Elementary Induction Machines In the discussion that followed Equation, the third possiblemethod of producing constant torque was to cause the mmf axes of stator and rotor to r

Determine the antennas radiated power, Q. A transmitter is connected to an ...

Q. A transmitter is connected to an antenna by a transmission line for which ¯ Z 0 = R 0 = 5 0 . The transmitter source impedance is matched to the line, but the antenna is kno

Explain about hybrid network, Q. Explain about Hybrid network? Hybrid n...

Q. Explain about Hybrid network? Hybrid network (sometimes known as a hybrid coilor duplex coil) in a telephone set is a special balanced transformer used to convert a two-wire

Solve for amplitude and phase of the current and the voltage, Use PSpice to...

Use PSpice to solve for the amplitude and phase of the current and the voltage across the inductor in the circuit shown in Figure(a).

find the thevenin and norton equivalent circuits, The output port of the o...

The output port of the one-port is defined by terminals A and B. Given: R 1 = 10 k_, R 2 = 20 k_, R 3 = 10 k_, and R 4 = 10 k_ V 1 = 20 V and I1 = 0.8 mA a) Find the T

Connection of shunt capacitors - vantage points, Connection of Shunt Capaci...

Connection of Shunt Capacitors - Vantage Points An unloaded distribution line is capacitive in character and a fully loaded line has inherent inductive and resistive features

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