Question: Write a full assembly language program that takes an array of 1 0 signed numbers ( positive and negative values ) . Array = [

Write a full assembly language program that takes an array of 10 signed numbers (positive and negative values).
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 name: jenan jbarae and university ID: 202212432 as two arrays each one on separate lines.
4. print university ID: 202212432 as complement values
You are allowed to use only these instructions: 1- MICROPROCESSORS SYSTEMS
2- INPUT/OUTPUT INSTRUCTIONS
3- ARITHMETIC AND LOGIC INSTRUCTIONS
4- MULTIPLICATION AND DIVISION
5- ADDRESSING MODES
6- CONDITION AND LOGICAL OPERATIONS
* Important Note: Dont use loop or call instruction and don't use pop, or push.
Insert the id and name each one of them in a single array and at the end of the code print the elements of the arrays.
Note: take consider i will use emu8086-assembler and micropricessor emulator 4.08 program to run the code

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!