Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1) Provide short answers to the following questions about the Intel 8086 processor assembly language: a) ADC and SBB can be forced to behave exactly

1) Provide short answers to the following questions about the Intel 8086 processor assembly language:

a) ADC and SBB can be forced to behave exactly like ADD and SUB by inserting some other instruction before ADC and SBB. What instruction must be inserted in front of ADC to make it behave like ADD? In front of SBB to make it behave like SUB?

b) Given that you can manipulate data items on the top of stack using PUSH and POP, explain how you could modify a return address on the top of stack so that a RET instruction will cause the 80x86 to return two bytes beyond the original return address.

c) Provide four different ways to add two to the value in the BX register. No way should require more than two instructions (hint, there are at least six ways of doing this!)

d) Explain the difference between the carry flag and the overflow flag.Explain the difference between the carry flag and the overflow flag.

e) Which of the shift, rotate, and logical instructions do not affect the zero flag?

f) Which flag(s) does the 80x86 use to check for unsigned arithmetic overflow?

g) Which flag(s) let you check for signed overflow?.

h) Repeat the above question for a signed comparison.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spatial Database Systems Design Implementation And Project Management

Authors: Albert K.W. Yeung, G. Brent Hall

1st Edition

1402053932, 978-1402053931

More Books

Students also viewed these Databases questions

Question

2. Eve really enjoys the science center.

Answered: 1 week ago