Question: Section B: Assembly Language Programming ( 1 5 marks ) Write a complete Wombat 2 assembly language main and subprogram. The main program tests the
Section B: Assembly Language Programming
marks
Write a complete Wombat assembly language main and subprogram. The main program tests the subprogram: it reads in exactly one integer, checks that the integer is valid input, calls the subprogram and writes out the result. The subprogram must compute the function: where The program must be properly commented.
Appendix Wombat Machine Instructions Summary
In the following description, refers to the contents of memory location and indicates data movement copy
tableMnemonicOpcode,Decimal,DescriptionstopStop executionloadacc
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
