Addition of two 16-bit numbers
data segment
a dw 0202h
b dw 0408h
c dw ?
data ends
code segment
assume cs:code, ds:data
start:
mov ax, data
mov ds, ax
mov ax, a
mov bx, b
add ax, bx
mov c, ax
int 3
code ends
end startUnderstand the code
Data Segment
Code Segment
Overall Functionality
Last updated

