SlideShare a Scribd company logo
1 of 1
Download to read offline
has to be on ASSEMBLY
Calculate the volume of a sphere given the radius using double precision floats. The formula for
the volume is: (4/3)Pir3 Hints: 1) Be careful about which registers you use, as these are double
precision floats 2) Use the syscall function that prints double precision floats (function No 3 , that
is: $v0=3 ) and ensure $f12 contains your answer prior to your calling the function Requested files
FloatingPoint2.s 1234567891011121314151617181920l.datapi:.double3.14#Pir:.double0.00
#Radius.textmain:#InputRli$v0,7syscalisdc1$f0,r
############################################Yourcodehere:
##############################################Exittheprogramli$v0,10syscali

More Related Content

More from actioncbe1

han estado publicando las mismas preguntas y no han obtenido.pdf
han estado publicando las mismas preguntas y no han obtenido.pdfhan estado publicando las mismas preguntas y no han obtenido.pdf
han estado publicando las mismas preguntas y no han obtenido.pdf
actioncbe1
 
Hayati Belirtiler Vaka almas Bay Charles Lamont 64 yanda .pdf
Hayati Belirtiler Vaka almas   Bay Charles Lamont 64 yanda .pdfHayati Belirtiler Vaka almas   Bay Charles Lamont 64 yanda .pdf
Hayati Belirtiler Vaka almas Bay Charles Lamont 64 yanda .pdf
actioncbe1
 
Harvey Dent Aunque se cri en condiciones duras y abusivas.pdf
Harvey Dent  Aunque se cri en condiciones duras y abusivas.pdfHarvey Dent  Aunque se cri en condiciones duras y abusivas.pdf
Harvey Dent Aunque se cri en condiciones duras y abusivas.pdf
actioncbe1
 

More from actioncbe1 (20)

Gua de la pelcula Hacerse humano Antropologa 101 1 .pdf
Gua de la pelcula Hacerse humano Antropologa 101  1 .pdfGua de la pelcula Hacerse humano Antropologa 101  1 .pdf
Gua de la pelcula Hacerse humano Antropologa 101 1 .pdf
 
Hedge Funds and Private Equity Funds are one of the most imp.pdf
Hedge Funds and Private Equity Funds are one of the most imp.pdfHedge Funds and Private Equity Funds are one of the most imp.pdf
Hedge Funds and Private Equity Funds are one of the most imp.pdf
 
Heather and Daniel investigate the Antimicrobial Resistance .pdf
Heather and Daniel investigate the Antimicrobial Resistance .pdfHeather and Daniel investigate the Antimicrobial Resistance .pdf
Heather and Daniel investigate the Antimicrobial Resistance .pdf
 
Heather az nce bir mteri demesi ald ve Hesaba Yatrlanlar .pdf
Heather az nce bir mteri demesi ald ve Hesaba Yatrlanlar .pdfHeather az nce bir mteri demesi ald ve Hesaba Yatrlanlar .pdf
Heather az nce bir mteri demesi ald ve Hesaba Yatrlanlar .pdf
 
Healthcare as available through the national health service.pdf
Healthcare as available through the national health service.pdfHealthcare as available through the national health service.pdf
Healthcare as available through the national health service.pdf
 
Health coverage frequencies The Behavioral Risk Factor Sur.pdf
Health coverage frequencies The Behavioral Risk Factor Sur.pdfHealth coverage frequencies The Behavioral Risk Factor Sur.pdf
Health coverage frequencies The Behavioral Risk Factor Sur.pdf
 
Head of State The name of the representative of the Queen o.pdf
Head of State The name of the representative of the Queen o.pdfHead of State The name of the representative of the Queen o.pdf
Head of State The name of the representative of the Queen o.pdf
 
he following parents were mated together Show the Phenotype.pdf
he following parents were mated together Show the Phenotype.pdfhe following parents were mated together Show the Phenotype.pdf
he following parents were mated together Show the Phenotype.pdf
 
han estado publicando las mismas preguntas y no han obtenido.pdf
han estado publicando las mismas preguntas y no han obtenido.pdfhan estado publicando las mismas preguntas y no han obtenido.pdf
han estado publicando las mismas preguntas y no han obtenido.pdf
 
Hayati Belirtiler Vaka almas Bay Charles Lamont 64 yanda .pdf
Hayati Belirtiler Vaka almas   Bay Charles Lamont 64 yanda .pdfHayati Belirtiler Vaka almas   Bay Charles Lamont 64 yanda .pdf
Hayati Belirtiler Vaka almas Bay Charles Lamont 64 yanda .pdf
 
Have students observe a classroom for young children using t.pdf
Have students observe a classroom for young children using t.pdfHave students observe a classroom for young children using t.pdf
Have students observe a classroom for young children using t.pdf
 
Having flowers produced on the stem Axial is a dominant tr.pdf
Having flowers produced on the stem Axial is a dominant tr.pdfHaving flowers produced on the stem Axial is a dominant tr.pdf
Having flowers produced on the stem Axial is a dominant tr.pdf
 
Havaalan ehir ii servisi Otobs 747 Trudeau havaalanndan .pdf
Havaalan ehir ii servisi Otobs 747 Trudeau havaalanndan .pdfHavaalan ehir ii servisi Otobs 747 Trudeau havaalanndan .pdf
Havaalan ehir ii servisi Otobs 747 Trudeau havaalanndan .pdf
 
Havana Inc has identified an investment project with the .pdf
Havana Inc has identified an investment project with the .pdfHavana Inc has identified an investment project with the .pdf
Havana Inc has identified an investment project with the .pdf
 
harvard iletme okulundaki aratrmaclar en nemli ynetici da.pdf
harvard iletme okulundaki aratrmaclar en nemli ynetici da.pdfharvard iletme okulundaki aratrmaclar en nemli ynetici da.pdf
harvard iletme okulundaki aratrmaclar en nemli ynetici da.pdf
 
Have you or has anyone you know ever experienced an identit.pdf
Have you or has anyone you know ever experienced an identit.pdfHave you or has anyone you know ever experienced an identit.pdf
Have you or has anyone you know ever experienced an identit.pdf
 
Harvard Case Latam Airlines in search of new options 1Wha.pdf
Harvard Case Latam Airlines in search of new options 1Wha.pdfHarvard Case Latam Airlines in search of new options 1Wha.pdf
Harvard Case Latam Airlines in search of new options 1Wha.pdf
 
Harriet bir sonraki tm personel toplants iin ekip oluturm.pdf
Harriet bir sonraki tm personel toplants iin ekip oluturm.pdfHarriet bir sonraki tm personel toplants iin ekip oluturm.pdf
Harriet bir sonraki tm personel toplants iin ekip oluturm.pdf
 
Harvard Business Review What Makes a Leader The author sta.pdf
Harvard Business Review  What Makes a Leader The author sta.pdfHarvard Business Review  What Makes a Leader The author sta.pdf
Harvard Business Review What Makes a Leader The author sta.pdf
 
Harvey Dent Aunque se cri en condiciones duras y abusivas.pdf
Harvey Dent  Aunque se cri en condiciones duras y abusivas.pdfHarvey Dent  Aunque se cri en condiciones duras y abusivas.pdf
Harvey Dent Aunque se cri en condiciones duras y abusivas.pdf
 

Recently uploaded

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
ssuserdda66b
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 

has to be on ASSEMBLY Calculate the volume of a sphere given.pdf

  • 1. has to be on ASSEMBLY Calculate the volume of a sphere given the radius using double precision floats. The formula for the volume is: (4/3)Pir3 Hints: 1) Be careful about which registers you use, as these are double precision floats 2) Use the syscall function that prints double precision floats (function No 3 , that is: $v0=3 ) and ensure $f12 contains your answer prior to your calling the function Requested files FloatingPoint2.s 1234567891011121314151617181920l.datapi:.double3.14#Pir:.double0.00 #Radius.textmain:#InputRli$v0,7syscalisdc1$f0,r ############################################Yourcodehere: ##############################################Exittheprogramli$v0,10syscali