Write a short program (it doesn't have to be a print-out of uVision, but that would help you avoid any errors) that perf
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Write a short program (it doesn't have to be a print-out of uVision, but that would help you avoid any errors) that perf
Write a short program (it doesn't have to be a print-out of uVision, but that would help you avoid any errors) that performs the following: "if a number in r0 is positive, š§³XXXČX multiply it by 44 (and do it without 'multiplying'); but if it negative, divide it by two (and again, without 'dividing'); otherwise (which means ro was #0, but you don't have to test for that) make it #12. HINT: draw a flow chart first.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!