程序代写 ARM Assembly

ARM Assembly

4. Write the assembly language subroutine to copy the string array stringl ‘ABCDEFG’ to the
second string array string 2. Try to simulate it with Keil in simulation mode and show the original

Copyright By PowCoder代写 加微信 powcoder

and converted string in memory with screenshots.

5. Write an assembly language program to find the maximum, the minimum, and the average of the
following numbers: 10,11,12.13,14,15.16.19.25. Try to simulate it with Keil in simulation mode
and show the numbers and results in memory or register with screenshots.

6. Assume n is an unsigned 16-bit global variable, write an assembly code version of the following
n=80;while(n! =0) {n–;bodyO:}
Try to simulate it with Keil in simulation mode and show some results in screenshots.

9. Write an assembly program to convert the lowercase letters to uppercase letters, and
convert the uppercase letters to lowercase letters at the same time. The original string
is “Welcome to China”. The converted results will be stored in a new address of
memory. Try to simulate it with Keil in simulation mode and show the original and converted
string in memory with screenshots.

10. Write an assembly program to convert the BCD codes: 0x02060805 (it contains four bytes
and each byte is a BCD code, for example, 0x02 is a BCD code) into ASCII codes. Try to simulate
it with Keil in simulation mode and show the original and converted string in memory or register
with screenshots.

程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com