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

Digital communication systems, Q. Digital communication systems? Today ...

Q. Digital communication systems? Today digital communication systems are in common use, carrying the bulk of our daily information transmission through a variety of communicat

Show jkff connected as a t flip-flop, Q. For a JKFFwith JK = 11, the output...

Q. For a JKFFwith JK = 11, the output changes on every clock pulse. The change will be coincident with the clock pulse trailing edge and the flip-flop is said to toggle, when T = 1

Signal processing 1 ., region of convergence of (Z+2)*(12z-1)/((3z-1)*(4z+1...

region of convergence of (Z+2)*(12z-1)/((3z-1)*(4z+1 ))

Compute the terminal voltage and current of each generator, Q. Three dc gen...

Q. Three dc generators are operating in parallel with excitations such that their external characteristics are almost straight lines over the working range with the following pairs

Customer relationship management software, Customer Relationship Management...

Customer Relationship Management Software CRM software products are most varied and variable in cost and functionality. The significant CRM software application includes: a

How many machine cycles does 8085 have, How many machine cycles does 8085 h...

How many machine cycles does 8085 have, mention them The 8085 have seven machine cycles. They are Opcode fetch Memory read Memory write I/O read I/O

Use of a k map simplify the following boolean expressions, Q. With the use ...

Q. With the use of a K map, simplify the following Boolean expressions and draw the logic diagram.

How can a jfet be used as a constant current source, Q. How can a JFET be u...

Q. How can a JFET be used as a constant current source? Explain from the drain characteristics. As the VDS voltage is increased from 0 to a few volts, the current will increase

Explain superconductivity, Explain Superconductivity. Superconductiv...

Explain Superconductivity. Superconductivity - The resistivity of most metals rises with rise in temperature and vice-versa. There are several metals and chemical compounds

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