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.

2.12) List three factors that we can use to evaluate the goodness of a program.

2.13) In 32 words or less, explain the differences between a Mealy and Moore FSM. For which types of problems should you implement with Mealy? For which types of problems should you implement with Moore?

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

Database Processing Fundamentals, Design, and Implementation

Authors: David M. Kroenke, David J. Auer

14th edition

133876705, 9781292107639, 1292107634, 978-0133876703

More Books

Students also viewed these Databases questions

Question

Question Can any type of stock or securities be used in an ESOP?

Answered: 1 week ago

Question

Question Can a self-employed person adopt a money purchase plan?

Answered: 1 week ago