hi all.

plz i need help , idon't know how to solve it

if anybody help me and to discuss to me how can i write it in assembly program , and this is the question:

================
Write an assembly program that reads Quantity and Unit price as a string (ASCII) and convert them to decimal.

Calculate the total price= Quantity * Unit price.

Convert total price to string (ASCII) and display it on the screen.

Your program should use at least three Macros:

First Macro: converts from string (ASCII) to decimal.
Second Macro: convert from decimal to string (ASCII).
Third Macro: Multiply two numbers.
Note: You can use Irvine library to read or write string

===================


i need it in sunday :(

i thank for who will help me ..

Recommended Answers

All 9 Replies

oh sorry!

but really i need some one to discuss to me how can i write it

or how can i start?

> Note: You can use Irvine library to read or write string
I'm guessing you know more about this than we do.

I'm also guessing that this is NOT your first assembler homework, so perhaps some careful study of your previous homework is in order.

How about just something to read in a string - that should be easy enough.
The next step might then be a little clearer, enough to at least have a go at yourself even if you can't finish it.

Write an assembly program that reads Quantity and Unit price as a string (ASCII) and convert them to decimal.

Calculate the total price= Quantity * Unit price.

Convert total price to string (ASCII) and display it on the screen

hi all.

plz i need help , idon't know how to solve it

if anybody help me and to discuss to me how can i write it in assembly program , and this is the question:

================
Write an assembly program that reads Quantity and Unit price as a string (ASCII) and convert them to decimal.

Calculate the total price= Quantity * Unit price.

Convert total price to string (ASCII) and display it on the screen.

Your program should use at least three Macros:

First Macro: converts from string (ASCII) to decimal.
Second Macro: convert from decimal to string (ASCII).
Third Macro: Multiply two numbers.
Note: You can use Irvine library to read or write string

===================


i need it in sunday :(

i thank for who will help me ..

me 2 wallah i need the same solution for the same question if u find any solution please informe me.......please please

What processor are you using ? 8086 ? What assembly language are you learning ?

we are leraning assemply for intel base this is the name of the book
and we r using liabries in soft ware microsoft visual c++ 2005,asm
please help

do it your self or dont do it at all!!:@

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.