Hello,
Ive just started programming in Assembly and im having a little trouble with the language itself. I wanted to make a program that takes two positive integers and adds them together, and outputs a message if theres a carry over, but i have no idea how to go about it. Ive made a assembly program thats adds together before, but i dont know how to do the rest. Any help would be appreciated.
Heres my previous program
ORG 0 ;
SWI GETINT;
MOV R1,R0;
SWI GETINT;
MOV R2,R0;
ADD R2,R1;
MOV R0,R2;
SWI PUTINT;
HLT
Any help would be really appreciated, i just am trying to learn =].