how to print the data from a memory in assembly 8086

1.3k views Asked by At

i am new to assembly i am writing a program to add two numbers and then move the answer to the the memory veritable i toked and displaying it on screen in emu8086

this is my code

org 100h

 ans dw ?,"$"

 mov ax,23
 mov bx,23
 add ax,bx   
 mov ans,ax
 mov ah,09h
 mov dx,offset ans 
   int 21h
 ret

what should i do please tell

 org 100h

 ans dw ?,"$"

 mov ax,23
 mov bx,23
 add ax,bx   
 mov ans,ax
 mov ah,09h
 mov dx,offset ans 
   int 21h
 ret
0

There are 0 answers