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

Explain common emitter configuration, Q. Explain Common emitter configurati...

Q. Explain Common emitter configuration? Common emitter configuration: In this circuit the emitter is common to both input and the output.Such a configuration is also known as

Calculate the value of load resistance, A battery having of 5 cells with em...

A battery having of 5 cells with emf and internal resistance of every cell is 1.5V and 0.25Ω connected in series. If the current flow by load resistance is 1.5A, calculate the valu

Differentiate between an integrator and differentiator, Q . Differentiate b...

Q . Differentiate between an integrator and differentiator? Integrators 1 Integrators are circuits in which output voltage is proportional to the integral of the input.

Load carrying capacities , Task a)    Investigate and describe the sign...

Task a)    Investigate and describe the significance of the following: i.    Slenderness ratio and buckling in columns ii.    Effective length of columns b) Explain Eu

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

Write a brief note on mmx technology, Write a brief note on MMX technology....

Write a brief note on MMX technology. MMX (Multimedia extensions) technology adds 57 new types of instructions to the Pentium - 4 microprocessors instruction set. The MMX tech

Obtain the sop expressions for given k map, Q. The K map of a logic functio...

Q. The K map of a logic function is shown in Figure, in which ds denote don't-care conditions. Obtain the SOP expressions.

Explain hand shakingfor the allocation of addresses, Explain Hand shakingfo...

Explain Hand shakingfor the allocation of addresses to memories and input output devices. Hand shaking: During an ASYNCHRONOUS data transfer is not based upon predetermined tim

Adaptive control process in motor-speed control system, Q. Adaptive control...

Q. Adaptive control process in motor-speed control system? Figure illustrates the adaptive control process as applied to a motor-speed control system, which is based on adjus

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