Question

Question - 10 (2 points) Consider a 16 bit floating point number system. The sign bit is the most significant bit. 6 bits are reserved for the exponent and remaining 9 bits are the mantissa. A bias of 31 is to be used. Represent +Infinity in binary using the floating point representation above.

Question - 11 (2 points) Write the assembly language command to add register edx to the contents of memory location addressed by ebx register. Store the result in the memory location pointed by ebx register.

Question - 12 (2 points) Write an assembly language instruction to divide register eex by 64 and store the result in register ecx.

Question - 13 (2 points) Write an assembly language instruction equivalent of the C statement Numbers[i] : $5; Assume in assembly the base Numbers is mapped to register ebx and i is mapped to esi register. Also assume short size variables.

Question - 14 (2 points) is the following statement correct? If not what is wrong with it? movl (%ebx),(%edx)

Question - 15 (2 points) Consider a 16 bit binary number system. Write the binary equivalent of the largest positive number.

Solution Preview

This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.

10. The + infinity has 0 as sign bit (since it is about the positive infinity), the biased-exponent has all bits equal to 1 and the fraction has all bits equal to 0. Hence +infinity represented in the provided format is 0 111111 000000000...

This is only a preview of the solution. Please use the purchase button to see the entire solution

Assisting Tutor

Related Homework Solutions

Boolean Function Example
Homework Solution
$3.00
Boolean
Function
Output
Input
Table
Truth
Logical
Assembly
Language
Programming
Raid Simulation Program Using Assembly Language
Homework Solution
$150.00
Assembly Language
Programming
Computer Science
Algorithms
Strings
Files
XOR
Commands
Input
Output
Bytes
System Kernel
Loop Counter
Pointers
Memory
Variables
Recursive Procedures Using Assembly Language
Homework Solution
$25.00
Programming
Computer Science
Recursive Procedures
Assembly Language
Windows32
Protocols
Sumseries
Integers
Loops
Sub-Procedures
Variables
Statements
Iterative Factorial Calculation in Assembly
Homework Solution
$10.00
Computer Science
Programming
Iterative Factorial Calculation
Assembly Language
Loops
Functions
Input
Output
Procedures
Error Conditions
Assembly Language Problems
Homework Solution
$25.00
Assembly Language
Programming
Computer Science
Strings
Macros
Characters
Procedures
Addresses
Numbers
Stack
Algorithms
Structures
Conversion
Registers
Binary Values
Input
Output
Get help from a qualified tutor
Live Chats