Answers for "add two numbers in assembly language"

1

add two numbers in assembly language

data segment
a db 09h
b db 02h
c dw ?
data ends
 
code segment
assume cs:code,ds:data
start:
mov ax,data
mov ds,ax
mov al,a
mov bl,b
add al,bl
mov c,ax
int 3
code ends
end start
Posted by: Guest on January-18-2021

Code answers related to "add two numbers in assembly language"

Code answers related to "Assembly"

Browse Popular Code Answers by Language