We learned that MIPS provides signed and unsigned addition and that some processors provide signed and unsigned multiplication. In this chapter, we encountered saturating arithmetic. It does seem rather sensible to tag data or instructions with the type of operand. What would be the advantages, disadvantages, and implications of such a step?

What will be an ideal response?


Tagging data means that appropriate operations can automatically be applied to data. This is, of course, rather
like strong typing in high level languages. By typing data you automatically perform the appropriate action; for
example, you use the same ADD for signed, unsigned and saturating type data. The advantage of typing is that
you need fewer instructions. The disadvantage is that the data word must be extended to include tags; for
example, an additional two bits would be required to specify four types. The Itanium IA64 has a 65?bit register
with 64 bits data and a NaT, not a thing tag, to indicate the data value is not valid. This is used by shortcircuiting
calculations; all calculations involving a NaT yield a NaT result.

Computer Science & Information Technology

You might also like to view...

Each parameter must specify both a(n) ________ and a(n) _____________ .

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

What is Subsetting?

What will be an ideal response?

Computer Science & Information Technology

What is the error message when you attempt to multiple a number by text?

What will be an ideal response?

Computer Science & Information Technology

Grant is modifying the structure of his worksheet. Grant knows that the default column width is 8.43 ____.

A. points B. pixels C. kilobytes D. characters

Computer Science & Information Technology