Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2.10 When you add two 8-bit unsigned numbers, an overflow error can occur. Which of the following techniques can be used to handle the problem

2.10 When you add two 8-bit unsigned numbers, an overflow error can occur. Which of the following techniques can be used to handle the problem of overflow? If there is more than one answer, give all answers that could work. a) Write software that is friendly. b) Write software using structured programming. c) Implement a ceiling and floor. d) Write software so there is drop-out. e) Promote the numbers and perform the addition with this new precision. f) Write software to mask the two input data g) Demote the numbers and perform the addition with this new precision. h) Convert the numbers to signed and perform the addition with signed math.

2.11 Consider the reasons why one chooses which technique to create a variable. a) List three reasons why one would implement a variable using a register. b) List three reasons why one would implement a variable on the stack and access it using RegX indexed mode addressing. c) List three reasons why one would implement a variable in RAM and access it using extended mode addressing.

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

Object Databases The Essentials

Authors: Mary E. S. Loomis

1st Edition

020156341X, 978-0201563412

More Books

Students also viewed these Databases questions