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

Accounting, I need the solutions for this assignment

I need the solutions for this assignment

8. A road 300 m long is required to be illuminated b, Ask questio8. A road ...

Ask questio8. A road 300 m long is required to be illuminated by providing 40W fluorescent lamps. The width of the road is 4m. Design a street lighting scheme for obtaining minimu

Explain temperature effect on electrical conductivity metals, Explain the e...

Explain the effect of temperature on electrical conductivity of metals. As the temperature is increased, there is a greater thermal motion of atoms which decreases the regulari

Find the average power absorbed by each element, Q. Let v(t) = V max cos ω...

Q. Let v(t) = V max cos ωt be applied to (a) a pure resistor, (b) a pure capacitor (with zero initial capacitor voltage, and (c) a pure inductor (with zero initial inductor curren

Ac machines, AC Machines: We have learnt the fundamental concepts of t...

AC Machines: We have learnt the fundamental concepts of the transformer, induction motors and special type fractional kilowatt (kW) machines. In the section of transformer you

Determine the motor speed at a specific line current, Q. A dc series motor ...

Q. A dc series motor operates at 750 r/min with a line current of 100 A from the 250-V mains. Its armature-circuit resistance is 0.15  and its series-field resistance is 0.1 . As

Explain the modes of connection for polyphase transformers, Discuss the mod...

Discuss the modes of connection for polyphase transformers Discuss with aid of electrical grouping and wiring connection diagrams the different types of connections for polypha

Find the rotor copper loss, A three-phase, 50-hp, 440-V, 60-Hz, four-pole, ...

A three-phase, 50-hp, 440-V, 60-Hz, four-pole, wound-rotor inductionmotor operates at a slip of 0.03 at full load,with its slip rings short-circuited. The motor is capable of devel

Digital electronics, Design a logic circuit when to provide an output when ...

Design a logic circuit when to provide an output when any two or three of four switches are closed.

Digital Electronics, Design a MOD-6 synchronous counter using J-K Flip-Flop...

Design a MOD-6 synchronous counter using J-K Flip-Flops.

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