Write these two programs in two separate files. Name them prog1.asm and prog2.asm
Use the following commands to assemble and link.
Z:\> masm prog1.asm
Z:\> masm prog2.asm
Z:\> link prog1+prog2
Run the resulting exe file.
Even though the procedure sum is not included in prog1.asm we are able to access it by using EXTERN and PUBLIC keywords.
Try to add a few more procedures like getting numbers from the user in prog2.asm file and assemble again.