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

Automatic meter reading and remote meter reading, Automatic Meter Reading a...

Automatic Meter Reading and Remote Meter Reading Automatic Meter Reading (AMR) and Remote Meter Reading (RMR) elaborate several systems which permit meters to be checked with

Electric discharge machining process, Describe the following in Electric di...

Describe the following in Electric discharge Machining Process(EDM). a) Dielectric fluids & their characteristic b) Electrodo feed Control c) Flushing System

What is program counter in 8085, Program counter holds the address of also ...

Program counter holds the address of also the first byte of the next instruction to be fetched for implementation or the address of the next byte of a multi byte instruction, which

D.c.machines, can voltage regulation be negative?why?

can voltage regulation be negative?why?

Scale-space pyramids, Scale-space pyramids   Write an m-file "scale_s...

Scale-space pyramids   Write an m-file "scale_space.m" which computes scale space representation of an input image for a given scale "sigma" and displays them. (i) 4 scale

Digital switching switching in telecommunication, Name the switching scheme...

Name the switching schemes used in a digital exchange

Draw a labeled block diagram of the encoder, Question: (a) The convers...

Question: (a) The conversion of a time varying analog audio signal into digital form is carried out using an electronic circuit known as a (signal) encoder. Draw a labeled bl

Determine the dimensions of the new model, The manufacturers of the tank de...

The manufacturers of the tank described in Problem would like to  design another model, with twice the capacity of the one described in figure. The ratio of height to diameter must

What do you mean by conductors and insulators, Q. What do you mean by Condu...

Q. What do you mean by Conductors and Insulators? In order to put charge in motion so that it becomes an electric current, one must provide a path through which it can flow eas

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