السلام عليكم لو سمحتو انا محتاجة مساعدة كتير كتير كتير مطلوب نعمل برنامج اسيمبلي انا مش عارفة اعملو فلو سمحتو ازا ممكن شوية مساعدة وهاد المطلوب مع شرح وامثلة !!
Write an 8086 Assembly code that will ask the user to enter 6 numbers (between 0 and 9) and then perform some arithmetic operations on them. The program will work as follows
Please enter number 1 : 6
Please enter number 2: 17
The number you entered is not in the range from 0 to 9
Please enter number 2: 4
Please enter number 3: 1
Please enter number 4: 8
Please enter number 5: 2
Please enter number 6: 9
Thank you for entering all numbers,
Please select the operation you need (v, x, n, d, a, e, s, l, q, r or ? for help): ?
v for average
x for max
n for min
e for standard deviation
a to show numbers in ascending order
d to show numbers in descending order
s summation of all numbers
l for all of the above
q to quit
r to enter 6 new numbers
? for help
Please select the operation you need (v, x, n, d, a, e, s, l, r or ? for help): x
The max number is 9
Please select the operation you need (v, x, n, d, a, e, s, l, r or ? for help): s
The sum of all numbers is 30
Please select the operation you need (v, x, n, d, a, e, s, l, r or ? for help): l
The average is 5
The max number is 9
The min number is 1
The standard deviation is 2
Numbers in ascending order 1,2, 4, 6, 8, 9
Numbers in descending order 9, 8, 6, 4, 2, 1
The sum of all numbers is 30
Please select the operation you need (v, x, n, d, a, e, s, l, r or ? for help): j
Unrecognized character
Please select the operation you need (v, x, n, d, a, e, s, l, r or ? for help): q
وشكرا كتير
مواقع النشر (المفضلة)