Find Jobs
Hire Freelancers

Simple Calculator

$25-30 USD

Ditutup
Dibuat sekitar 22 tahun yang lalu

$25-30 USD

Dibayar ketika dikirim
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, MorisMano) 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 Operand 1 + or ??" Operand 2 = 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. Routines that may be Useful: •An Input routine •An Output routine •A routine to convert a string of decimal digits, encoded as ASCII characters, into the equivalent binary value •A routine to convert a binary value into a string of decimal digits, encoded as ASCII characters •A routine to add two binary integer values, including overflow status of sum •A routine to subtract two binary integer values, including overflow status of difference ## Deliverables Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. with comments: Dead Line : May 3rd 6.00 AM (US Central Time) Complete copyrights to all work purchased. ## Platform Assembly language program. ## Deadline information Dead line : May 3rd 6.00 AM (US Central Time) Dead Line should be met.
ID Proyek: 2849568

Tentang proyek

1 proposal
Proyek remot
Aktif 22 tahun yang lalu

Ingin menghasilkan uang?

Keuntungan menawar di Freelancer

Tentukan anggaran dan garis waktu Anda
Dapatkan bayaran atas pekerjaan Anda
Uraikan proposal Anda
Gratis mendaftar dan menawar pekerjaan
1 freelancer menawar dengan rata-rata $26 USD untuk pekerjaan ini
Avatar Pengguna
See private message.
$25,50 USD dalam 14 hari
4,5 (17 ulasan)
3,3
3,3

Tentang klien

Bendera UNITED STATES
United States
5,0
6
Anggota sejak Nov 29, 2001

Verifikasi Klien

Terima kasih! Kami telah mengirim Anda email untuk mengklaim kredit gratis Anda.
Anda sesuatu yang salah saat mengirimkan Anda email. Silakan coba lagi.
Pengguna Terdaftar Total Pekerjaan Terpasang
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuat pratinjau
Izin diberikan untuk Geolokasi.
Sesi login Anda telah kedaluwarsa dan Anda sudah keluar. Silakan login kembali.