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 signed numbers positive and negative values
Array
The program must count the negative values and print the total sum of the absolute values of the negative numbers. ie: if you have then the program must print count as the total number of negative values and then prints the sum 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 ie if you got N on screen then it means that your sum was Eh decimal
The program must count the positive numbers and print the count and positive numbers separated by a comma ie: if you have in the array then you should print them on screen like count values
Print name: jenan jbarae and university ID: as two arrays each one on separate lines.
print university ID: as complement values
You are allowed to use only these instructions: MICROPROCESSORS SYSTEMS
INPUTOUTPUT INSTRUCTIONS
ARITHMETIC AND LOGIC INSTRUCTIONS
MULTIPLICATION AND DIVISION
ADDRESSING MODES
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 emuassembler and micropricessor emulator program to run the code
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
