I have recently started to study the concept of Assembly language and have been using the DosBox with 8086 processor to learn to code respectively in that. I recently came up with the ideas of procedures in Assembly Language and how to add different procedures into the same program, but after that I came upon a question in the book which has some kind of analogy with the high level language, and got me a little confused on how would I implement these procedures. The exact question is as follows:
To illustrate the concept of passing parameters by value and passing parameters by address, write appropriate procedures in assembly language for addition of two 16 bit integers. Assume that no overflow will occur after addition. Write also the corresponding main code.
I would appreciate if someone could help me move forward in how to write this particular code for the procedures.