Copyright © XXXXXXXXXXJonathan Muckell, Ph.D. All rights reserved. Document cannot be distributed without written consent by the author. Homework #4: Mini-Compiler (Part #2 of 2) ECE233 – The HW/SW...

1 answer below »
Please see files. Please make sure it compiles. Please use the simplest method possible.


Copyright © 2022. Jonathan Muckell, Ph.D. All rights reserved. Document cannot be distributed without written consent by the author. Homework #4: Mini-Compiler (Part #2 of 2) ECE233 – The HW/SW Interface Prof. Muckell Expand your code from Part #1 to support the additional functionality below. Follow all the same code organization requirements outlined in the first part of the assignment. For part #2, your code should support add and subtract operations. For example, the input files below should be supported. Note, TEST FILE #4 (test4.mucks) MUCKS Code Generated ARM Output (Example) MOV R3, #56 MOV R4, #14 MOV R5, R3, R4 RESULT: At the end of the execution x=56, y=14, z=70 After executing your output ARM code in the visUAL ARM emulator, there should be two registers with those values TEST FILE #5 (test3.mucks) MUCKS Code Generated ARM Output (Example) MOV R3, #1 ADD R4, R3, #2 MOV R3, #5 SUB R5, R3, R4 ADD R5, R5, #10 RESULT: At the end of the execution x=5, y=3, z=12 After executing your output ARM code in the visUAL ARM emulator, there should be two registers with those values
Answered 2 days AfterApr 12, 2022

Answer To: Copyright © XXXXXXXXXXJonathan Muckell, Ph.D. All rights reserved. Document cannot be distributed...

Nidhi answered on Apr 14 2022
103 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here