SlideShare a Scribd company logo
1 of 1
Download to read offline
/ This program reads a decimal array and outputs each / number. The array is terminated with a
zero. / Your assignment is to add the decimal numbers, Array and store the total in sum and
display sum at the end. ORG 100 Get, Loadl ptr / Load the number found at address ptr. Skipcond
400 / If it is a zero, we are done. Jump Outp / Otherwise, proceed with operation. Halt Outp,
Output / Output the number. Load ptr / Move pointer to next number. Add One

More Related Content

More from ajay1317

Table Region .pdf
 Table Region  .pdf Table Region  .pdf
Table Region .pdfajay1317
 
Supongamos que la Tierra gir hacia atrs pero an orbita.pdf
 Supongamos que la Tierra gir hacia atrs pero an orbita.pdf Supongamos que la Tierra gir hacia atrs pero an orbita.pdf
Supongamos que la Tierra gir hacia atrs pero an orbita.pdfajay1317
 
Synthesizes the new DNA strands in the 5 3 direction .pdf
 Synthesizes the new DNA strands in the 5 3 direction  .pdf Synthesizes the new DNA strands in the 5 3 direction  .pdf
Synthesizes the new DNA strands in the 5 3 direction .pdfajay1317
 
returns a new copy of the LinkedList It creates a copy .pdf
 returns a new copy of the LinkedList It creates a copy .pdf returns a new copy of the LinkedList It creates a copy .pdf
returns a new copy of the LinkedList It creates a copy .pdfajay1317
 
Sony Ericsson is a global company that was established in .pdf
 Sony Ericsson is a global company that was established in .pdf Sony Ericsson is a global company that was established in .pdf
Sony Ericsson is a global company that was established in .pdfajay1317
 
11 ST segment depression may indicate Ischemia Normal fin.pdf
 11 ST segment depression may indicate Ischemia Normal fin.pdf 11 ST segment depression may indicate Ischemia Normal fin.pdf
11 ST segment depression may indicate Ischemia Normal fin.pdfajay1317
 
Realice una investigacin adicional para obtener ms infor.pdf
 Realice una investigacin adicional para obtener ms infor.pdf Realice una investigacin adicional para obtener ms infor.pdf
Realice una investigacin adicional para obtener ms infor.pdfajay1317
 
Elvira es una pintora abstracta con un talento increble p.pdf
 Elvira es una pintora abstracta con un talento increble p.pdf Elvira es una pintora abstracta con un talento increble p.pdf
Elvira es una pintora abstracta con un talento increble p.pdfajay1317
 
Programming Assignment 4 Calculate the first 16 Fib.pdf
 Programming Assignment 4  Calculate the first 16 Fib.pdf Programming Assignment 4  Calculate the first 16 Fib.pdf
Programming Assignment 4 Calculate the first 16 Fib.pdfajay1317
 
El sndrome X frgil es un trastorno dominante ligado al s.pdf
 El sndrome X frgil es un trastorno dominante ligado al s.pdf El sndrome X frgil es un trastorno dominante ligado al s.pdf
El sndrome X frgil es un trastorno dominante ligado al s.pdfajay1317
 
In grading eggs into small medium and large the Nancy F.pdf
 In grading eggs into small medium and large the Nancy F.pdf In grading eggs into small medium and large the Nancy F.pdf
In grading eggs into small medium and large the Nancy F.pdfajay1317
 
M 0 1 2 3 4 5 6 7 0.pdf
 M  0  1  2  3  4  5  6  7    0.pdf M  0  1  2  3  4  5  6  7    0.pdf
M 0 1 2 3 4 5 6 7 0.pdfajay1317
 
for initializer_list include ltinitializer_listgt .pdf
 for initializer_list include ltinitializer_listgt .pdf for initializer_list include ltinitializer_listgt .pdf
for initializer_list include ltinitializer_listgt .pdfajay1317
 
public class Pattern public .pdf
   public class Pattern     public .pdf   public class Pattern     public .pdf
public class Pattern public .pdfajay1317
 
Inside your VM not the individual containers Develop .pdf
 Inside your VM not the individual containers  Develop .pdf Inside your VM not the individual containers  Develop .pdf
Inside your VM not the individual containers Develop .pdfajay1317
 
Probl.pdf
   Probl.pdf   Probl.pdf
Probl.pdfajay1317
 
Follow the instructions in the code def times_tablenum 1.pdf
 Follow the instructions in the code def times_tablenum 1.pdf Follow the instructions in the code def times_tablenum 1.pdf
Follow the instructions in the code def times_tablenum 1.pdfajay1317
 
EXERCISE 311 Contributing to a public good Each of n pe.pdf
 EXERCISE 311 Contributing to a public good Each of n pe.pdf EXERCISE 311 Contributing to a public good Each of n pe.pdf
EXERCISE 311 Contributing to a public good Each of n pe.pdfajay1317
 
At what level of investment ownership is significant influen.pdf
At what level of investment ownership is significant influen.pdfAt what level of investment ownership is significant influen.pdf
At what level of investment ownership is significant influen.pdfajay1317
 
Assignment What is the future of Twitter Assignment Yo.pdf
Assignment What is the future of Twitter   Assignment  Yo.pdfAssignment What is the future of Twitter   Assignment  Yo.pdf
Assignment What is the future of Twitter Assignment Yo.pdfajay1317
 

More from ajay1317 (20)

Table Region .pdf
 Table Region  .pdf Table Region  .pdf
Table Region .pdf
 
Supongamos que la Tierra gir hacia atrs pero an orbita.pdf
 Supongamos que la Tierra gir hacia atrs pero an orbita.pdf Supongamos que la Tierra gir hacia atrs pero an orbita.pdf
Supongamos que la Tierra gir hacia atrs pero an orbita.pdf
 
Synthesizes the new DNA strands in the 5 3 direction .pdf
 Synthesizes the new DNA strands in the 5 3 direction  .pdf Synthesizes the new DNA strands in the 5 3 direction  .pdf
Synthesizes the new DNA strands in the 5 3 direction .pdf
 
returns a new copy of the LinkedList It creates a copy .pdf
 returns a new copy of the LinkedList It creates a copy .pdf returns a new copy of the LinkedList It creates a copy .pdf
returns a new copy of the LinkedList It creates a copy .pdf
 
Sony Ericsson is a global company that was established in .pdf
 Sony Ericsson is a global company that was established in .pdf Sony Ericsson is a global company that was established in .pdf
Sony Ericsson is a global company that was established in .pdf
 
11 ST segment depression may indicate Ischemia Normal fin.pdf
 11 ST segment depression may indicate Ischemia Normal fin.pdf 11 ST segment depression may indicate Ischemia Normal fin.pdf
11 ST segment depression may indicate Ischemia Normal fin.pdf
 
Realice una investigacin adicional para obtener ms infor.pdf
 Realice una investigacin adicional para obtener ms infor.pdf Realice una investigacin adicional para obtener ms infor.pdf
Realice una investigacin adicional para obtener ms infor.pdf
 
Elvira es una pintora abstracta con un talento increble p.pdf
 Elvira es una pintora abstracta con un talento increble p.pdf Elvira es una pintora abstracta con un talento increble p.pdf
Elvira es una pintora abstracta con un talento increble p.pdf
 
Programming Assignment 4 Calculate the first 16 Fib.pdf
 Programming Assignment 4  Calculate the first 16 Fib.pdf Programming Assignment 4  Calculate the first 16 Fib.pdf
Programming Assignment 4 Calculate the first 16 Fib.pdf
 
El sndrome X frgil es un trastorno dominante ligado al s.pdf
 El sndrome X frgil es un trastorno dominante ligado al s.pdf El sndrome X frgil es un trastorno dominante ligado al s.pdf
El sndrome X frgil es un trastorno dominante ligado al s.pdf
 
In grading eggs into small medium and large the Nancy F.pdf
 In grading eggs into small medium and large the Nancy F.pdf In grading eggs into small medium and large the Nancy F.pdf
In grading eggs into small medium and large the Nancy F.pdf
 
M 0 1 2 3 4 5 6 7 0.pdf
 M  0  1  2  3  4  5  6  7    0.pdf M  0  1  2  3  4  5  6  7    0.pdf
M 0 1 2 3 4 5 6 7 0.pdf
 
for initializer_list include ltinitializer_listgt .pdf
 for initializer_list include ltinitializer_listgt .pdf for initializer_list include ltinitializer_listgt .pdf
for initializer_list include ltinitializer_listgt .pdf
 
public class Pattern public .pdf
   public class Pattern     public .pdf   public class Pattern     public .pdf
public class Pattern public .pdf
 
Inside your VM not the individual containers Develop .pdf
 Inside your VM not the individual containers  Develop .pdf Inside your VM not the individual containers  Develop .pdf
Inside your VM not the individual containers Develop .pdf
 
Probl.pdf
   Probl.pdf   Probl.pdf
Probl.pdf
 
Follow the instructions in the code def times_tablenum 1.pdf
 Follow the instructions in the code def times_tablenum 1.pdf Follow the instructions in the code def times_tablenum 1.pdf
Follow the instructions in the code def times_tablenum 1.pdf
 
EXERCISE 311 Contributing to a public good Each of n pe.pdf
 EXERCISE 311 Contributing to a public good Each of n pe.pdf EXERCISE 311 Contributing to a public good Each of n pe.pdf
EXERCISE 311 Contributing to a public good Each of n pe.pdf
 
At what level of investment ownership is significant influen.pdf
At what level of investment ownership is significant influen.pdfAt what level of investment ownership is significant influen.pdf
At what level of investment ownership is significant influen.pdf
 
Assignment What is the future of Twitter Assignment Yo.pdf
Assignment What is the future of Twitter   Assignment  Yo.pdfAssignment What is the future of Twitter   Assignment  Yo.pdf
Assignment What is the future of Twitter Assignment Yo.pdf
 

Recently uploaded

FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
Diuretic, Hypoglycemic and Limit test of Heavy metals and Arsenic.-1.pdf
Diuretic, Hypoglycemic and Limit test of Heavy metals and Arsenic.-1.pdfDiuretic, Hypoglycemic and Limit test of Heavy metals and Arsenic.-1.pdf
Diuretic, Hypoglycemic and Limit test of Heavy metals and Arsenic.-1.pdfKartik Tiwari
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...MysoreMuleSoftMeetup
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Introduction to TechSoup’s Digital Marketing Services and Use Cases
Introduction to TechSoup’s Digital Marketing  Services and Use CasesIntroduction to TechSoup’s Digital Marketing  Services and Use Cases
Introduction to TechSoup’s Digital Marketing Services and Use CasesTechSoup
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17Celine George
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxCeline George
 
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonQUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonhttgc7rh9c
 
diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....Ritu480198
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptx
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptxMichaelis Menten Equation and Estimation Of Vmax and Tmax.pptx
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptxRugvedSathawane
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...EADTU
 
Observing-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptxObserving-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptxAdelaideRefugio
 
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...Gary Wood
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 

Recently uploaded (20)

FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Diuretic, Hypoglycemic and Limit test of Heavy metals and Arsenic.-1.pdf
Diuretic, Hypoglycemic and Limit test of Heavy metals and Arsenic.-1.pdfDiuretic, Hypoglycemic and Limit test of Heavy metals and Arsenic.-1.pdf
Diuretic, Hypoglycemic and Limit test of Heavy metals and Arsenic.-1.pdf
 
Including Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdfIncluding Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdf
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Introduction to TechSoup’s Digital Marketing Services and Use Cases
Introduction to TechSoup’s Digital Marketing  Services and Use CasesIntroduction to TechSoup’s Digital Marketing  Services and Use Cases
Introduction to TechSoup’s Digital Marketing Services and Use Cases
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptx
 
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonQUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
 
diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptx
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptxMichaelis Menten Equation and Estimation Of Vmax and Tmax.pptx
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptx
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
Observing-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptxObserving-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptx
 
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 

This program reads a decimal array and outputs each numb.pdf

  • 1. / This program reads a decimal array and outputs each / number. The array is terminated with a zero. / Your assignment is to add the decimal numbers, Array and store the total in sum and display sum at the end. ORG 100 Get, Loadl ptr / Load the number found at address ptr. Skipcond 400 / If it is a zero, we are done. Jump Outp / Otherwise, proceed with operation. Halt Outp, Output / Output the number. Load ptr / Move pointer to next number. Add One