sorry, i don't know which forum i should post this question.
Q) a machine language program to input 2 numbers then adds 2 numbers then output the single-character result.
this is what i got so far but it doesn't work..any help plz~~
0000 4900FE ;Get input from the user and store it @ 00FE
0003 4900FF ;Get input from the user and store it @ 00FF
0006 910022 ;Convert second input to decimal
0009 F100FA ;Store second decimal
000C D100FE ;Load first input into memory
000F 910022 ;Convert first input to decimal
0012 7100FA ;Add two numbers
0015 A10020 ;convert sum to character
0018 F1001F ;store the character
001B 51001F ;output the character
001E 00 ; stop
001F 00 ; character to output
0020 0030 ; convert mask to ASCII from decimal
0022 000F ; convert mask to decimal from ASCII
Hex Version for the Loader in Pep/8 simulator
49 00 FE 49 00 FF 91 00 22 F1 00 FA D1 00 FE 91 00 22 71 00 FA A1 00 20 F1 00 1F 51 00 1F 00 00 00 30 00 0F zz