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

Find the percent voltage regulation of the transformer, Q. A 25-kVA, 2400/2...

Q. A 25-kVA, 2400/240-V, 60-Hz, single-phase transformer has an equivalent series impedance of 3.45 + j5.75  referred to the primary high voltage side. The core loss is 120 W. Whe

Conditional call instruction, Conditional Call Instruction Similar  to ...

Conditional Call Instruction Similar  to conditional  jump  instructions there are conditional call  instructions  also based on various  flags.

Find 2s complement of 8-bit no. by assembly language program, Write an asse...

Write an assembly language program to determine one's complement and two's complement of an 8-bit number. Ans One's complement of an 8-bit number LDA 2501H CMA STA

Phase shifter, Hi, I just finish writing my project literature review and ...

Hi, I just finish writing my project literature review and my supervisory asked me to add one part. This part is about Phase Shift. How phase shifters work? In Particular How the

Emirrer feedback bias, RE should be made large enough to swamp out rB/ B. h...

RE should be made large enough to swamp out rB/ B. how does making RE large saturate the transistor b

Explain the or gates - microprocessor, Explain the OR Gates - microprocesso...

Explain the OR Gates - microprocessor? The OR GATE has high or logic 1 output if any of the inputs are high. The output Q is true if input A OR input B is true (or both of t

Define johnson counter to convert serial data, Define johnson counter to Co...

Define johnson counter to Convert Serial Data to Parallel Data? A microprocessor-based or computer system commonly requires incoming data to be in parallel format. But often t

What is non-maskable interrupts, An interrupt which can be never be turned ...

An interrupt which can be never be turned off (ie. disabled) is called as Non-Maskable interrupt.

Electrical circuits and systems, Electrical circuits and systems : Elec...

Electrical circuits and systems : Electrical systems allow energy to be conveniently delivered from the point of supply to the point of application - e.g. electric railways, ca

Dc machines, explain dynamically induced emf and derive expression for it

explain dynamically induced emf and derive expression for it

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