Question: how to fix my code in assembly language using pep 8 . It needs to do the following. Write a program to add 4 0
how to fix my code in assembly language using pepIt needs to do the following. Write a program to add decimal and decimal There is no input, so these integers should be stored in memory. Output the result. Verify you can do the above program WITH INPUT. There is a video in this weeks module called
AddIntegers. if you could please help me fix the errors
ASCII: ;ERROR: Must have mnemonic or dot command after symbol definition.
WORD
WORD
WORD
BR main
main:
LDA x ; Load into the accumulator
ADD x ; Add to the value in the accumulator
STA x ; Store the result in memory
LDA x ; Load the result into the accumulator
DECO x ; Output the result as a decimal number
STOP ; Stop the program
END
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
