Question: 3 . Write a machine - language program to input a number, divide it by 4 , and output the result on the output device.
Write a machinelanguage program to input a number, divide it by and output the result on the output device.
C;load first integer into acc
;add second int
;add third integer
;store from acc to memory
C ;output from memory
F ;stop
FFFD
The code I have right here is an example of how it should be written out in Pep I need the object code and source code
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
