X = 20H Y = 84H Microprocessor
Posted: Fri May 20, 2022 7:02 pm
X = 20H
Y = 84H
Microprocessor
1. Show code for a nested loop to add 9 to RO, ID2 times. 2. Write an assembly program that calculates the value of the following integer expression: (YOUR ID = 2019XXYY) 3X 7x2 + 9XY + + 11x + 13y + 5 4 3. Write an assembly program that converts all lowercase letters to their corresponding upper cases. (HINT: ASCII code of A-411 & a -611) BONUS: Write an assembly program that calculates the factorial of a non-negative integer n. Assume n is between (0 - 20).
Y = 84H
Microprocessor
1. Show code for a nested loop to add 9 to RO, ID2 times. 2. Write an assembly program that calculates the value of the following integer expression: (YOUR ID = 2019XXYY) 3X 7x2 + 9XY + + 11x + 13y + 5 4 3. Write an assembly program that converts all lowercase letters to their corresponding upper cases. (HINT: ASCII code of A-411 & a -611) BONUS: Write an assembly program that calculates the factorial of a non-negative integer n. Assume n is between (0 - 20).