Question
I need help with these 3 Assembly Language questions. If you could, please write/type legibly.
2, Find the single precision floating point representation of each of the following numbers: (4 points) a) 175.5 b) -31.0 3, Find the double-precision floating point representation of each of the following numbers: (4 points) a) 175.5 b) -11.75 4, Find the decimal number comesponding to the following single-precision floating point representation C26A0000. points
0 0
Add a comment Improve this question Transcribed image text
Answer #1

2. (a) 175. 5 Enupo nenb Crvpo 175.5 x 2 IO ID 11 1 I X2 SEapz Normalye ek D.1 0 ID 11112 a choy Exten 127 0repreenlahn1010

- O.I11o x2 Steps.n -51 expo neu numbr2745 ワ132- (1 0000100) 2- Frnala, 1 oooo loo 11110 0000000DO0000000

This is the complete solution for 2 (a) and 2 (b).

In part 3, the first two steps are exactly the same as in part 2. Then for step 3, we have to represent it using a 64 bit notation instead of the 32 bit as shown for Question 2.

Please post rest of the questions separately.

If you have any query, do ask in comment. I'd be happy to help.

Add a comment
Know the answer?
Add Answer to:
I need help with these 3 Assembly Language questions. If you could, please write/type legibly. 2,...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • The following questions refer to IEEE floating point numbers. Show each step for full credit. a)...

    The following questions refer to IEEE floating point numbers. Show each step for full credit. a) Give the 64-bit double precision internal representation (in hexadecimal) of the decimal value given below. -9.625 ________________________________________________ b) Give the decimal value of the 32-bit single precision floating point number whose internal representation is given below (in hexadecimal). 3f400000 ________________________ c) Give the 32-bit single precision internal representation (in hexadecimal) of the decimal value given below. +13.375 ________________________________________________

  • 1 please IEEE-754 Floating point conversions problems (assume 32 bit machine): 1. For IEEE 754 single-precision...

    1 please IEEE-754 Floating point conversions problems (assume 32 bit machine): 1. For IEEE 754 single-precision floating point, write the hexadecimal representation for the following decimal values: a. 27.1015625 b.-1 2. For IEEE 754 single-precision floating point, what is the decimal number, whose hexadecimal representation is the following? a. 4280 0000 b. 7FE4 0000 c. 0061 0000 3. For IEEE-754 single-precision floating point practice the following problem: Suppose X and Y are representing single precision numbers as follows: X 0100...

  • C++ programming language , I need help writing the code . Please explain if you can...

    C++ programming language , I need help writing the code . Please explain if you can . Exercise 10: Unit conversion (10 points) Write a console program that converts meters into feet and inches. The program starts by asking the user for a measurement in meters. The program should accept a floating point number. After getting the number, the program computes the number of feet and inches equal to the specified number of meters. The program outputs feet and inches...

  • Please give me First and second answer. If you don't mind please check my 3rd question...

    Please give me First and second answer. If you don't mind please check my 3rd question is this my question is right or wrong. Thanks Show how each of the following floating point values would be stored using IEEE-754 single precision (be sure to indicate the sign bit, the exponent, and the significand fields): (show your work) 12.5 −1.5 0.75 26.625 ______________________________________________________________________________ Show how each of the following floating point values would be stored using IEEE-754 double precision (be sure...

  • Problem 9 (8 points): Q1 (4 points): Write down the bit pattern in the fraction of value 1/3 assu...

    Problem 9 (8 points): Q1 (4 points): Write down the bit pattern in the fraction of value 1/3 assuming a floating point format that uses binary numbers in the fraction. Assume there are 24 bits, and you do not need to normalize. Is this representation exact? 02 (4 points): Write down the bit pattern in the fraction of value 1/3 assuming a floating point format that uses Binary Coded Decimal (base 10) numbers in the fraction instead of base 2....

  • please make sure the answer is clear. 3. Given X (0100 0010 0000 1111 0000 0000...

    please make sure the answer is clear. 3. Given X (0100 0010 0000 1111 0000 0000 0000 0000)2 and Y (0100 0001 1010 0100 0000 0000 0000 0000)2 in single precision IEEE-754 floating point numbers, perform the following operations. Show all of your work and express the final answer in single precision IEEE 754-floating point representation. 1. X+Y 2. X*Y Hint: show each value in binary normalized scientific notation prior to performing the arithmetic. This should make following the algorithms...

  • Please answer using assembly language Easy68k ONLY. I. Write a program called Sorted Primes to a....

    Please answer using assembly language Easy68k ONLY. I. Write a program called Sorted Primes to a. Find out the prime numbers in a method from the following list (15, 16, 17, 23, 2, 32, 3, 31, 13, 19, 12, 9) and push/store them in a stack and then PRINT. (15 points) b. Sort those prime numbers passed by reference (using PEA) to a second method that you found out from the above list in descending order and then PRINT. (20...

  • (f) and (g) please f and g please letters Question 2 Indirect addressing mode in assembly language is sanilar to pointers in C. Answer the following questions: (1 point) a) How many 8-bit reg...

    (f) and (g) please f and g please letters Question 2 Indirect addressing mode in assembly language is sanilar to pointers in C. Answer the following questions: (1 point) a) How many 8-bit registers can a FSR access in the PICI8F452 MCU? b) Write the assembly language command to load the address of the variable with name: PVal into one of the FSR? (2 points) (2 points) (2 points) c) What is the meaning of: movf PREINC2, F? d) What...

  • I need some help on this assembly question, it has to be done strictly in Intel...

    I need some help on this assembly question, it has to be done strictly in Intel x86 64 bit assembly language and the other part in C language The faction findRange find the range of the numbers in a given amay and retums the range The range is defined as the difference between the maximum number and the minimum number in the given amay write the function findRange both in C and in Assembly. The function stub for findRange is...

  • Please do b,c, and d. please write step by step and write legibly. thank you. 2....

    Please do b,c, and d. please write step by step and write legibly. thank you. 2. Definition of Derivative a) Find the slope of the tangent line to the parabola f(x) = 4x - 32 at the point a using the definition of derivative. b) Find the equation for the tangent line to f(x) = 4.c - zº if f(1) = 3. c) Find the slope of the tangent line to f(x) = (2x2 - 4) at the point a.

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT