assembly_exam2

# assembly_exam2 - COS260a-Quiz#05-Fall2009 2009 Name ID...

This preview shows pages 1–3. Sign up to view the full content.

COS260a-Quiz#05-Fall2009 December 07, 2009 Name: ___ ID: _____ Numeric Response 1. (5 points) In the IEEE extended double precision format, how many bits are reserved for the exponent? 15 2. (5 points) In the IEEE double precision format, how many bits are reserved for the fractional part? 52 Short Answer 3. (5 points) The number BFF0 1000 0000 0000h represents a floating point value in IEEE double-precision format. What is its equi- valent in decimal? 1 011 1111 1111 0000 0001 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000b 1 – negative sign 011 1111 1111 – exponent 1023 – 1023 = 0 1.0000 0001 – mantissa Fractional part - 1/2^8 = 0.00390625 The number is: -1.00390625 Problem 4. (5 points) Convert the following infix expression to postfix: (5 + 6) / ((1 + 2) * 4) – 3 5 6 + 1 2 + 4 * / 3 -

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
5.(80 points) Using the following template, create a Visual Studio Project to solve the tasks described in the comments: INCLUDE Irvine32.inc .data Av REAL8 -600.0 .code main PROC call Clrscr
This is the end of the preview. Sign up to access the rest of the document.

### Page1 / 3

assembly_exam2 - COS260a-Quiz#05-Fall2009 2009 Name ID...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online