Explain sar instructions in 8086 family, Electrical Engineering

Assignment Help:

Explain SAR instructions in 8086 family with example and their effect on flag.

SAR: Shift each bit of operand right through given number of bits, this instruction shifts every bit of the operand that is contained in an 8-bit or memory locations or 16-bit register, right by the given number of bits. The least significant bits of the operand are shifted in carry flag. The most significant bit that is a sign bit for the sign operand is retained into MSB position.

        Flags affected as: OF, ZF, SF, CF and PF.


Related Discussions:- Explain sar instructions in 8086 family

What are the various flags used in 8085, The various flags are: - Sign flag...

The various flags are: - Sign flag,  Axillary flag, Zero flag, Parity flag, Carry flag.

Capacitive var, how over compensation by capacitive var rises voltage in a ...

how over compensation by capacitive var rises voltage in a circuit?

Why monitoring and control done, Why Monitoring and control done? Mo...

Why Monitoring and control done? Monitoring and control using microprocessors/computers is often done for the below reasons: - It is safer (faster response to non-standar

Dynamic response of control systems, Q. Dynamic Response of Control Systems...

Q. Dynamic Response of Control Systems? The existence of transients (and associated oscillations) is a characteristic of systems that possess energy-storage elements and that a

Principle of oscillation in an rc phase shift oscillator, Q. What is the ba...

Q. What is the basic principle of oscillation in an RC phase shift oscillator. With a neat sketch explain its working? For producing oscillations there must have positive feedb

State the features of washing machines, State the features of Washing machi...

State the features of Washing machines Microprocessor would be used to control the below features, for instance: - Water temperature -  Time for every cycle -  Wash cy

Machine, explain inifinite bus

explain inifinite bus

Calculate the open circuit voltage, This question is designed to give you ...

This question is designed to give you practice in manipulating circuit equations using j notation, and to demonstrate that techniques that you have already studied in the d.c. c

Types of bias circuit for class a amplifiers, Types of bias circuit for Cla...

Types of bias circuit for Class A amplifiers: There are five common types of biasing circuits used with Class A bipolar transistor amplifiers: A. Fixed bias B. Collector

For parity flag - conditional jumps , For parity Flag  JPE ( jump on ...

For parity Flag  JPE ( jump on Parity even ) and  JPO  ( Jump or Parity Odd) Instruction JPE  transfer  the execution of the  program  to the specified memory  address i

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