.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
gil.nickson
0
Newbie Poster
Recommended Answers
Jump to PostOh 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, …
All 2 Replies
Reply to this topic
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.