Question: Computer organization, LAB Experiment No: 11 Exercise for the students based on the implementation of subroutines. Write a program in Assembly language that writes two

Computer organization, LAB
 Computer organization, LAB Experiment No: 11 Exercise for the students based
on the implementation of subroutines. Write a program in Assembly language that

Experiment No: 11 Exercise for the students based on the implementation of subroutines. Write a program in Assembly language that writes two subroutines for calculating the maximum and minimum of an array of numbers. Then call these subroutines to calculate the maximum and minimum of two number shown below and writes them to the respective memory locations Program Code: ap start numl: num2: dw 20.30. 10. 50 40 maxl: dw min2: dw max2i dw endi nov ax, 0x4cooiterminate progran int 0x21 Procedure: Write the program shown in Fig above in Notepad and save it as file name exp11.asm Assemble the program using the command below: naam expl1.asm -o expi1.com 1. 2. 4. Compile the program using the command below s. afd exp 11.com Execute the instructions step by step and observe the contents of registers and record the observations. Observations and Results: Table 11.1 Student Name: Student ID Instructor Signature: Experiment No: 11 Exercise for the students based on the implementation of subroutines. Write a program in Assembly language that writes two subroutines for calculating the maximum and minimum of an array of numbers. Then call these subroutines to calculate the maximum and minimum of two number shown below and writes them to the respective memory locations Program Code: ap start numl: num2: dw 20.30. 10. 50 40 maxl: dw min2: dw max2i dw endi nov ax, 0x4cooiterminate progran int 0x21 Procedure: Write the program shown in Fig above in Notepad and save it as file name exp11.asm Assemble the program using the command below: naam expl1.asm -o expi1.com 1. 2. 4. Compile the program using the command below s. afd exp 11.com Execute the instructions step by step and observe the contents of registers and record the observations. Observations and Results: Table 11.1 Student Name: Student ID Instructor Signature

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!