;8bit add
.model small

.data
num1 db 08h
num2 db 02h
sum db 00h

.code
        mov ax,@data
        mov ds,ax
        mov al, num1
        add al, num2
        mov sum, al
        mov ah, 4ch
        int 21h
end

; Program to multiply two 16-bit numbers

.model small

.data
    num1 dw 1234h   ; First number (change as needed)
    num2 dw 5678h   ; Second number (change as needed)
    result dw ?     ; Variable to store the result

.code
    main proc
        mov ax, @data   ; Load the data segment address
        mov ds, ax

        mov ax, num1    ; Load first number into AX
        mov bx, num2    ; Load second number into BX

        mul bx          ; Multiply AX by BX
        mov result, ax  ; Store the result in 'result'

        ; Display the result
        mov ah, 09h     ; DOS function to print string
        mov dx, offset result  ; Load offset of result
        int 21h         ; Call DOS

        mov ax, 4c00h   ; Exit to DOS with return code 0
        int 21h
    main endp

end main