Question: Please write in MACHINE CODE ONLY ( 0 s and 1 s ) , no use of assembly code. Read instructions carefully and dont copy
Please write in MACHINE CODE ONLY s and s no use of assembly code. Read instructions carefully and dont copy paste an answer from somewhere else. I hope you understand. Use of an LC Simulator is highly recommended to reduce and check for any errors.
Multiply.bin:
; This is a program to multiply two numbers.
; The program first stores a number into address x
; The program then stores a second number into x
; In a more complete program the two numbers would be read from the keyboard.
; In a more complete program the result would be written to the monitor.
; Load address x as the start location
; clear R and R
; R
; R
; store values into R and R
; R #
; R #
; store values from R and R into memory
; x R
; x R
; clear R and R
; R
; R
; The multiply program starts here.
; Add code below to complete the assignment requirements.
; Do NOT change any of the code above except to add a header comment with your names
; halt the program TRAP with vector x
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
