Cpi compare immediate instruction , Electrical Engineering

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.

Posted Date: 4/5/2013 12:54:12 AM | Location : United States







Related Discussions:- Cpi compare immediate instruction , Assignment Help, Ask Question on Cpi compare immediate instruction , Get Answer, Expert's Help, Cpi compare immediate instruction Discussions

Write discussion on Cpi compare immediate instruction
Your posts are moderated
Related Questions
Three equal impedances of D ohms resistance and C inductive reactance are connected in a DELTA configuration. The line voltage is A00 volts. Determine the line current, phase cur

Assignment 2: FIR Filters in Audio Processing This assignment will focus on the filtering of audio signals using FIR filters. Audio signal processing uses many types of digital f

Continuity Equation: Explain continuity equation and discus the special case of continuity equation when concentration is independent of time and with zero electric field.

Considering the TTL NAND gate circuit of Figure, with one or more inputs low, show that the output will be high.

#question.classification of conducting material.

Q. If an analog message that has a spectral extent of 15 kHz is sampled at three times the Nyquist rate, determine the sampling rate.

Three Phase Induction Motors A three  phase induction rotor  consists  a stators  and a motor stator has balanced three  phase  winding. These windings  are distributed in the

Determine RMS and average value: Determine RMS and average value of the output of half wave rectifier. Solution The waveform of current, output of the half wave rectif

Q. What do you mean by Byte? Without question, the most vital data structure used by the 80x86 microprocessor is the byte this is true since the ASCII code is a 7-bit non-weigh

What makes them sine? Ans) Fourier tells that only a sine wave has no harmonic content. The math works out that if you have any wave shape other than a sign wave, you can brea