Question: A. Write a program in Assembly language that reads the numbers from memory (num: 10, 6, 14, 3, 5, 15, 2, 8, 12, 9,
A. Write a program in Assembly language that reads the numbers from memory (num: 10, 6, 14, 3, 5, 15, 2, 8, 12, 9, 13, 4, 7, and 11) and perform following operation on them: 3. Separate the odd numbers and store the result (odd numbers) in consecutive memory locations in an array (dw) named 'odd'. 4. Find the minimum of the numbers from odd array and store in array(dw) named 'min '. 5. Find the factorial of minimum number calculated in step 2 and store the factorial in the memory (array name 'fact') at the end. There should be separate subroutine for each mentioned task like odd, min and fact.
Step by Step Solution
There are 3 Steps involved in it
Answer Heres an example program in x86 Assembly language NASM syntax that performs the specified operations section data num dw 10 6 14 3 5 15 2 8 12 ... View full answer
Get step-by-step solutions from verified subject matter experts
