Jump to content

MASM 8086 simple 4 functions calculator code help!!

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
monocube

monocube

    Newbie

  • Members
  • Pip
  • 1 posts
hey all..
can anybody help me with an 8086 assembly source code for a simple calculator??
it has the following specifications :

• The calculator should perform a signed addition (+), subtraction (-), Multiplication (*),
and division.
• The calculator takes two operands only.
• The user can use the (-) unary operator to determine if the number is negative
otherwise it is positive.
• Division should be developed so that the result should appear in floating point
representation.
• The operands have a maximum size of 3-digits 0-999).
• All operands are entered in decimal form.
• The operation should appear as in the following :

WELCOME TO MY CALCULATOR!!

12 + 15 = 27
123 / 12 =10.25
100 * 8 = 800
-12 + 6 = -6

#2
codemode

codemode

    Newbie

  • Members
  • Pip
  • 8 posts
Where is the code you have so far? Or is this a homework assignment that you want someone else to do for you?