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

Find the rated and maximum torques, A 4000-V, 5000-hp, 60-Hz, 12-pole synch...

A 4000-V, 5000-hp, 60-Hz, 12-pole synchronous motor, with a synchronous reactance of 4  per phase (based on cylindrical-rotor theory), is excited to produce unity power factor at

Branch operations , Branch Operations Normally  the program  executes ...

Branch Operations Normally  the program  executes in  a sequence. The contents of the program counter register are incremented by  one during  the execution  of current  instr

Design the high-pass filter, Q. Design the high-pass filter shown in Figure...

Q. Design the high-pass filter shown in Figure (by determining C) to have a half-power frequency of 1 MHz.

Analog Filters, Each of the following functions is abs(H(jw))^2 of a certai...

Each of the following functions is abs(H(jw))^2 of a certain network function H(s). Obtain all the possible H(s) for each given abs(H(jw))^2. [(w^4)+25]/[(w^4)+(12w^2)+49]

Name the flag available in status register of 8086, What are the different ...

What are the different flag available in status register of 8086? There are Six flags are present. They are, AF - Auxiliary Carry Flag CF - Carry Flag OF - Ove

Supercomputer -introduction to microprocessors , Supercomputer The lar...

Supercomputer The largest  fastest and most  powerful  are called supercomputers. Supercomputers are mainly used for  weather forecasting remote  sensing image processing, biom

Microprocessor development system, Write explanatory notes on  Microprocess...

Write explanatory notes on  Microprocessor development system. Microprocessor development system : Computer systems have undergone several changes recently. Machines which

Find the minimum practical value frequency, A radar systemuses pulses of du...

A radar systemuses pulses of duration D tomodulate the amplitude of a radio carrierwave. The system can distinguish between targets spaced apart by a distance of d ≥ cD, where c is

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