; Code to add 2 numbers size one byte each ; in memeory, into word (2 bytes) in memory IDEAL MODEL small STACK 100h DATASEG var1 db 100 var2 db 180 var3 dw ? CODESEG start: mov ax, @data mov ds, ax mov ax,0 ; zero ax, so we can use 2 bytes mov al,[var1] ; moves 100 to the right byte of ax add [va3],ax ; add word to word (ax to var3) mov al,[var2] ; moves 180 to the right byte of ax add [var3],ax ; add word to word (ax to var3) exit: mov ax, 4c00h int 21h END start