Question: 26. What happens by default when you divide a floating-point number by zero? a. A default value is assigned to the result and execution continues.

26. What happens by default when you divide a floating-point number by zero?

a. A default value is assigned to the result and execution continues.

b. A default value is assigned to the result and en exception is thrown.

c. An exception is thrown and execution is transferred to the operating system.

d. The processor tries to execute an appropriate exception handler.

27. Which of the following statements are true regarding the x86 machine instruction format?

a. A prefix byte is never optional.

b. An opcode is never optional.

c. Memory displacement bytes are optional.

d. The opcode overrides the deafult operand size.

28. Use the following code snippet to identify the contents of ST(1) after execution has completed:

.data

dblOne REAL8 123.45

dblTwo REAL8 3.1415

dblThree REAL8 234.56

dblFour REAL8 101.01

.code

fld dblTwo

fld dblFour

fld dblOne

fld dblThree

a. 3.1415

b. 101.01

c. 123.45

d. 234.56

29. Which of the following are fields in the FPU control word?

a. Overflow exception mask

b. Infinity control

c. Rounding control

d. Denormal operand exception mask

30. Which of the following statements accurately describes the exponent portion of a single precision floating-point number that uses the IEEE format?

a. Stored as an 8-bit unsigned integer.

b. Stored with a positive bias of 127.

c. Values range from -126 to +127.

d. Stored as an 8-bit signed integer.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!