Write an ARM assembly language program in KEIL uVision IDE that does the following: 1. Reads following lists (This shoul

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Write an ARM assembly language program in KEIL uVision IDE that does the following: 1. Reads following lists (This shoul

Post by answerhappygod »

Write an ARM assembly language program in KEIL uVision IDE that
does the following:
1. Reads following lists (This should be a Subroutine calls)
List 1 = 100, 300, 200, 900, 100, 400, 500, 600, 400, 150
List 2 = 3, 5, 7, 8, 2, 4, 1, 3, 6, 9
2. Multiply corresponding elements in above two lists and copy
them somewhere in memory (This function must be a subroutine
call)
3. Find the average of the created list (The average function
must be a subroutine call)
4. Save the average somewhere in memory (This is a subroutine
call)
Notes:
-Use Stack for restoring the register values
- Use top of stack value 0x40000000
-Use Following stack store and Load
STMIA R13!,{...}
LDMDB R13!,{....}
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply