Question: Write a full assembly language program that takes an array of 1 0 signed numbers ( The user enter it when the program run )

Write a full assembly language program that takes an array of 10 signed numbers (The user enter it when the program run)(consists of positive and negative values).(My Name = GEGE, ID =123233344)(You are not allowed to use Stack or Loop Instructions use JMP instead of)
Array =[1,-2,3,-4,5,-6,7,-8,-9,10]
1. The program must count the negative values and print the total sum of the absolute values of the negative numbers. (i.e.: if you have -3,-5,-1, then the program must print count =3 as the total number of negative values and then prints the sum =+9) if your answer does not compute correctly due to hex values then write in a comment at the end of the code the correct answer and the corresponding hex value you got on screen (i.e., if you got N on screen then it means that your sum was =4Eh =78 decimal )
2. The program must count the positive numbers and print the count and positive numbers separated by a comma (,)(i.e.: if you have 2,5,7 in the array then you should print them on screen like count =3 values =2,5,7)
3. Print my name and my university ID as two arrays each one on separate lines.
4. print my university ID as complement values(Use 2's complement)
The Output must be like this :
#Negative =---
Sum =---
#Positive =---
Positive-Numbers =-,-,-,-....
My-Name =---
My-ID =---
Complemented-ID =----

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!