Advertisement

01.28.2006 at 04:17AM PST, ID: 21713736
[x]
Attachment Details

Multiplication in assembly

Asked by jericotolentino in Assembly Programming Language

Tags: multiplication, assembly

Dear experts,

I'm trying to learn assembly language based on available resources online, but I'm stumped in multiplication. I've tried to look for other tutorials on the internet, but I still couldn't get it. This program below (keeps displaying a nasty error on WinXP). Any help would be appreciated.

Thanks in advance!
------------
.model small
.stack
.data
lf equ 0ah
cr equ 0dh
prompt db cr,lf,"Enter a number: ","$"
product db cr,lf,"The product is: ","$"
.code
main proc near
mov ax,@data
mov ds,ax

mov dx,offset prompt
mov ah,09h
int 21h

mov ah,01h
int 21h

mov bx,10d
mul bx

mov dx,offset prompt
mov ah,09h
int 21h

mov bl,al
mov ah,02h
int 21h

mov ax,4ch
int 21h

main endp
end mainStart Free Trial
 
 
[+][-]01.28.2006 at 04:26AM PST, ID: 15811880

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.28.2006 at 04:42AM PST, ID: 15811912

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.28.2006 at 06:08AM PST, ID: 15812157

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.28.2006 at 06:11AM PST, ID: 15812162

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.28.2006 at 07:06AM PST, ID: 15812342

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Assembly Programming Language
Tags: multiplication, assembly
Sign Up Now!
Solution Provided By: PaulCaswell
Participating Experts: 1
Solution Grade: A
 
 
[+][-]01.28.2006 at 07:11AM PST, ID: 15812359

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.28.2006 at 10:08PM PST, ID: 15816347

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.31.2006 at 06:36PM PST, ID: 15839946

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.01.2006 at 12:58AM PST, ID: 15841540

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.01.2006 at 04:42AM PST, ID: 15842527

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.01.2006 at 03:07PM PST, ID: 15848907

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.01.2006 at 04:53PM PST, ID: 15849547

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32