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

Define serial in - parallel out shift registers, Define Serial In - Paralle...

Define Serial In - Parallel Out Shift Registers? For this type of register data bits are entered serially in the same manner as discussed in the last section and the difference

Calculate the dc voltage appearing across the brushes, The armature of a fo...

The armature of a four-pole dcmachine has a simplex lap wound commutator winding (which has the number of parallel paths equal to the number of poles) with 120 two-turn coils. If t

Regulation so significant, How does the ITU make sure compatibility among t...

How does the ITU make sure compatibility among the Radio systems used in dissimilar countries?  Why is regulation so significant?

What is schokleys equation, Q. What is Schokleys Equation. Find out a relat...

Q. What is Schokleys Equation. Find out a relation between Vgs and Ids? Schokleys Equation is used for defining the relation between the Gate source voltage and the Drain curre

Determine rms and average value, Determine RMS and average value: Dete...

Determine RMS and average value: Determine RMS and average value of the output of half wave rectifier. Solution The waveform of current, output of the half wave rectif

Define explicit - implicit and parametric representations, Give an industri...

Give an industrial look at modern CAM/CAD. Define explicit, implicit and parametric representations. What are the basic advantages of parametric representations over the impli

The operation of colpitts oscillator, Q. Explain with the help of a circuit...

Q. Explain with the help of a circuit diagram,the operation of COLPITTS OSCILLATOR. Oscillator is a circuit used to generate a.c voltage without a.c.input signal.The energy to

Determine the electric force on each charge, Q. Point charges, each of √4πε...

Q. Point charges, each of √4πε 0 C, are located at the vertices of an equilateral triangle of side a. Determine the electric force on each charge.

Determine the voltages vx using voltage division, Q. Determine the voltages...

Q. Determine the voltages Vx using voltage division and equivalent resistor reductions for the circuits shown in Figure.

Sub threshold, Sub Threshold The sub threshold I-V curve depends expon...

Sub Threshold The sub threshold I-V curve depends exponentially on the threshold voltage, introducing a strong reliance on any manufacturing variation that influences threshol

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