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

Solar energy, can i use the direct solar energy from solar plate to charge ...

can i use the direct solar energy from solar plate to charge my laptop without a battery

Explain atomic structure & energy band diagram of germanium, Explain Atom...

Explain Atomic structure and Energy Band Diagram of Germanium. Germanium : This is one of the most common semiconductor material utilized in the application in electronics.

Effective negative voltage, Effective negative voltage: Effect negati...

Effective negative voltage: Effect negative voltage of get, when depend upon Pitch of voltage: the level of that results in id =0 ma is defined by eggs =vp with vp

Equivalent circuit of a polyphase induction machine, Equivalent Circuit of ...

Equivalent Circuit of a Polyphase Induction Machine The inductionmachinemay be regarded as a generalized transformer inwhich energy is converted and electric power is transferr

What are the precautions to be taken, What are the precautions to be taken ...

What are the precautions to be taken before basic work on electrical installations? Ans: Before starting any electrical works on installations disconnect the power supply to

Define embedded system according to wayne wolf and todd, Define the term em...

Define the term embedded system according to Wayne Wolf and Todd. According to Wayne Wolf: This is any device which includes a programmable computer but is not itself intend

Name some application of serial communication, Name some application where ...

Name some application where you see use of serial communication. Within the world of serial communications, there are two different equipments are: DTE stand for Data Termin

How many simultaneous calls can be made during peak time, Q. In a hundred-...

Q. In a hundred-line exchange 24 two-motion selectors are used. Draw schematic you suggest for this exchange and illustrate its working. How many simultaneous calls can be made du

Determine the dielectric constant of air in practically, The dielectric con...

The dielectric constant of air is practically taken as (A) more than unity.                         (B) Unity.  (C) less than unity.                           (D) Zero.

Dc simulation component, Once you are happy with the biasing components you...

Once you are happy with the biasing components you will need to disable the DC simulation component and enable the SP component. (Right click the component and then select the "com

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