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

Microcomputer - introduction to microprocessors , Microcomputer A micr...

Microcomputer A microprocessor is a  general purpose central processing  until of a digital  computer system. It has  arithmetic  logical unit  control circuits and a set of r

Electricity policies, Electricity Policies: The National Electricity P...

Electricity Policies: The National Electricity Policy is a main policy instrument having the force of law under the Electricity Act, 2003. The Central and State Electricity Re

FET, shockely equation?

shockely equation?

Find the current in each resistor, For the network shown in Figure, find th...

For the network shown in Figure, find the current in each resistor by means of nodal analysis.

Fixed bias, Fixed bias (base bias): Diagram: Fixed bias (Base ...

Fixed bias (base bias): Diagram: Fixed bias (Base bias) This type of biasing is also known as  base bias . In the instance above figure, the single power source (

Thevenins theorem, advantages and disadvantages of thevenins theorem

advantages and disadvantages of thevenins theorem

Find the output function y for the logic circuits, Q. Find the output funct...

Q. Find the output function Y for the logic circuits of Figure (a) and (b). An AOI (AND-OR-INVERT) gate is shown in Figure with its two possible realizations. Obtain the output

Describe about boltzmann constant, Q. Describe about Boltzmann constant? ...

Q. Describe about Boltzmann constant? The constant η in Figure (b) stands for the noise power spectral density, expressed in terms of power per unit frequency (W/Hz). Statistic

Describe the functionalities and the purpose of an equalizer, Question: ...

Question: (a) For a CD quality sound, what is the bit depth used and give the amplitude's levels and the dynamic range of this sound quality (b) In audio technology, the dec

Triac, what is the daily life work of triac

what is the daily life work of triac

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