IFN503: Assessment 2 - Floating Point and LMC Code Analysis
VerifiedAdded on 2022/12/18
|13
|1654
|6
Homework Assignment
AI Summary
This document presents a comprehensive solution to IFN503 Assessment 2, a computer architecture assignment. The solution begins with Question 1, which addresses the ASCII representation of the character string '+15.3682' in hexadecimal, binary, octal, and decimal number systems. Question 2 delves into the IEEE 754 floating-point format, converting the decimal number +78.875 into its hexadecimal representation, first using the standard 32-bit format and then a hypothetical format with different exponent and mantissa bit allocations. The solution also includes the reverse conversion, transforming a given hexadecimal number back into its decimal equivalent. Finally, Question 3 provides a Little Man Computer (LMC) program designed to output the sums of odd values from 1 to 15, demonstrating the use of symbolic addressing and illustrating the program's execution steps and output.
Contribute Materials
Your contribution can guide someone’s learning journey. Share your
documents today.
1 out of 13