.model small
.stack 0100h
.data
NEYM DW 08h, ?, 08h DUP("$")
Q DB "Input First Number: $"
Q1 DB 0AH,0DH, "Input Second Number: $"
P DB 0AH,0DH, "Product: $"
result db 13, 10, 'input number','$'

;Variables


.code

mov ax, @data
mov ds, ax
mov ah, 09h
mov dx, offset Q
int 21h
mov ah, 0Ah
MOV AL, AH
mov dx, OFFSET NEYM
int 21h
mov ah, 09h
mov dx, offset Q1
int 21h
mov ah, 0Ah
MOV BL, AH
mov dx, OFFSET NEYM
int 21h
mov q,al
mov q1,bl
mul q,q1
mov ah, 09h
lea dx, result
int 21h
mov ax, 4c00h
int 21h
end

Recommended Answers

All 2 Replies

Oh jolly! A riddle! Not only do we get to guide you through fixing the code, but we also get to make wild stabs and guesses at what exactly the code does, and which errors is is producing. My Saturday nights don't get any better than this.

In all seriousness, you're going to have to provide us with a bit more background info. What's this program supposed to do? What's it not doing that it should? I understand that this is an international forum and there may be a language barrier, but please try to explain as best you can.

exit the programme and again paste this it's correct

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.