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

Give an account on the operation of the oupled amplifier, Q. Give an accoun...

Q. Give an account on the operation of the R-C coupled amplifie r. When a.c. signal is applied to the base of the first transistor, it appears in the amplified form across its c

Miller sweep circuit, PlZ Explain broooooo ..? What is Miller circuit and b...

PlZ Explain broooooo ..? What is Miller circuit and bootstrap I have xm tomrow and I am not getting answers soo plz.

What do mean by flow of electron, Flow of electrons - Electrons flow down a...

Flow of electrons - Electrons flow down a wire that is what current, is. Good conductors like copper and silver and aluminum have free electrons in their outer shells, and they jum

Determine the minimum needed frequency range, The operating frequency range...

The operating frequency range of a superheterodyne FMreceiver is 88-108MHz. The IF and LO frequencies are so chosen that f IF LO .Ifthe image frequency f  c must fall outside of

Construction of inductor, Construction of inductor An inductor is usual...

Construction of inductor An inductor is usually constructed as a coil of conducting material, typically opper wire, wrapped around a core either of air or ferrous material.

Compute the percentage change, Q. A particular BJT has a nominal value of α...

Q. A particular BJT has a nominal value of α 0.99. Calculate the nominal β.If α can easily change ±1%, compute the percentage changes that can occur in β.

Discuss important properties and uses of rubber, Discuss important properti...

Discuss important properties and uses of Rubber. Rubber: It is polymeric material along with high elastic yield strain. The various types of rubber materials are given as-

Compute the attenuation, Q. A rectangular air-?lled RG-52/U is made of bras...

Q. A rectangular air-?lled RG-52/U is made of brass (ρ = 3.9 × 10-8 m) and has dimensions a = 22.86 mm and b = 10.16 mm. (a) Determine ¯ Z0(= R0) at the limits of the practica

Explain the procedure of binary to hex conversion, Q. Explain the procedure...

Q. Explain the procedure of Binary to Hex Conversion? It is simple to convert from an integer binary number to hex. This is completed by: Break the binary number int

A synchronous motor with a synchronous reactance , A synchronous motor with...

A synchronous motor with a synchronous reactance of 12 ohms is operating with a current of 100 A at unity power factor supplying power to a large compressor. The phasor diagram for

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