In double precision operations, the instructions are different. For example, sub.s in single precision should be sub.d in double precision. The registers are used in pairs since double precision will double the size of the value storage. The static variable should be defined as
.
double as well. Therefore, the registers are occupied in pairs to store the double
-
size value and only the even
-
numbered register can be used for programming while the odd
-
numbered register will be the extension of the evennumbered register. For example, only
�
2
,
�
6
,
$
�
8
,
etc. can be used for double precision operations.
Write a program named lab
1
0
-
double.s
.
It can receive the input of the user in Celsius and do the reverse conversion of the given snippet. Requirements:
(
1
)
Using double precision operations.
(
2
)
Prompt the user to type in Celsius and the program can display Fahrenheit.
(
3
)
Paste the screenshot of the result as well as your source code.
Not the question you are looking for? Ask here!
Enter question by text
Enter question by image
Upgrade to Asksia Pro
Join a AskSia's Pro Plan, and get 24/7 AI tutoring for your reviews, assignments, quizzes and exam preps.