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

Assembly language instructions, Normal 0 false false false ...

Normal 0 false false false EN-IN X-NONE X-NONE

Compare with memory, Compare with memory The contents  of the memory...

Compare with memory The contents  of the memory  of the memory  location  pointed by HL  register pair are compared with the  contents of the accumulator. The  instruction f

Find the minimum number of bits per byte, Q. If it is desired to store Eng...

Q. If it is desired to store English-language writing with 1 byte representing each letter, find the minimum number of bits per byte that could be used. Ans. For the 26 le

Find the approximate values of gain and phase margins, Q. Sketch the asympt...

Q. Sketch the asymptotic Bode plots for the following loop-gain functions, and find the approximate values of gain and phase margins in each case.

Common-collector configuration, Common-collector configuration:  The ...

Common-collector configuration:  The common-collector that is abbreviated CC transistor configuration is displayed in figure.  In this type of configuration, the collector is

Bcd to excess 3 code converter, What are the industrial applications of the...

What are the industrial applications of the project bcd to excess 3 code converter?

Energy band diagram, Sketch the Fermi-Dirac distribution function, F(E), al...

Sketch the Fermi-Dirac distribution function, F(E), alongside the energy band diagram for an n-type semiconductor, indicating the position of the Fermi level, EF, and the donor lev

Define permanent magnet, Define permanent magnet A permanent magnet is ...

Define permanent magnet A permanent magnet is a piece of ferromagnetic material (like as iron, nickel or cobalt) which has properties of attracting several pieces of these mater

Stack pointer, stack Pointer (SP) It is also a 16 bit  register and a  ...

stack Pointer (SP) It is also a 16 bit  register and a  memory  pointer similar to  program counter. It holds  the memory  address of the  top of the stack. Stack is a  part of

Determine the thevenin and norton equivalent circuits, Q. (a) Determine the...

Q. (a) Determine the Thévenin and Norton equivalent circuits as viewed by the load resistance R in the network of Figure. (b) Find the value of R if the power dissipated by R 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