Question: Write a machine language program to add the four numbers 2 , - 6 , 7 and - 1 . Then multiply the sum by
Write a machine language program to add the four numbers
and Then multiply the sum by and output the result on the output
device. Store and in hexadecimal. Do not use the subtract, negate
or invert instructions. My main struggle is I dont know how to store and into hexadecimal this is the work I did so far and the output is correct but I need to store and into hexadecimal LDWA i
ADDA i
ADDA i
ADDA i
ASLA
ASLA
STWA
DECO d
Stop
end
Source Code untitled.pep
Source Code untitled.pep
C
Accumulator
Index Register
longrightarrow
Program Counter
Instruction Specifier
stop
Operand Specifier
Operand
Input
Input
Object Code untitled.pepo
Assembler Listing untitled.pepl
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
