Find Jobs
Hire Freelancers

A Simple Calculator

$25-30 USD

Completed
Posted about 22 years ago

$25-30 USD

Paid on delivery
A Simple Calculator Description and Requirements: You are to write an assembly language program (based on the instruction set of the Chapter 5 Basic Computer) to implement a 16-bit calculator that can perform addition or subtraction. Your program will be stored in a plain text file and should execute on the simulator that can be downloaded from the course web page. Submission will include a design document/diagram and a fully documented assembly program. The user input, via the INPR register, will be of the form Operand1“´??"??²ª›Operand2= Example input sequences are: 2+4= 13-4= 23+132= 13-99= So, the only valid ASCII characters allowed for input are the decimal digits (0,1, … 9), the plus sign (+), the minus sign (-), and the equal sign (=). Furthermore, the input sequence must be a sequence one or more digits followed by the operation to be performed (+ or -) followed by another sequence of one or more digits followed by the equal sign. The input should be “echoed?? to the output as it is entered so that the user can see what they are typing on the output message box of the simulator. If an input sequence is entered that does not satisfy the description above, then the program should output the following message: InputErr. Furthermore, if the values of the operands are too large to be stored in 16 bits, or if the resulting sum or difference results in an overflow, then the following output message should be displayed: Overflow. Assuming proper input, the sum or difference will of course be output to the right of the equal sign. ## Deliverables Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased. ## Platform should execute on the simulator that can be downloaded. ## Deadline information Dead line :April 30 th (4.00 pm) US central time. "Assembly Language Program" Details reg. the simulator will be given(will give a link from where u can download it.)
Project ID: 2848819

About the project

2 proposals
Remote project
Active 22 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$25.50 USD in 14 days
5.0 (122 reviews)
6.8
6.8
2 freelancers are bidding on average $26 USD for this job
User Avatar
See private message.
$25.50 USD in 14 days
5.0 (7 reviews)
4.0
4.0

About the client

Flag of UNITED STATES
United States
5.0
6
Member since Nov 29, 2001

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.