Find Jobs
Hire Freelancers

assembly language project

$25-30 USD

Closed
Posted over 20 years ago

$25-30 USD

Paid on delivery
Objective of this assignmentThis is the first project written in assembly language. It will reinforce your understanding of addressing modes, storage directives, and the algorithms for converting between binary and ascii representations of integers. Read the specifications carefully and be sure you understand them completely before you start writing the program. I have provided a source file source file on the server containing code for two functions - charin and charout. charin reads one character from standard input and places it in the al register. charout writes to standard output the character currently in the al register. The program should do the following: * Prompt for the user to enter an 8 bit binary number. * Read the user's input, storing it in a 8 character array for which storage was declared in the data section (call this xstring). * Convert the characters that the user input to a 1-byte integer for which storage was declared in the data section (call this x). * Convert the integer above to another 1-byte integer (call this y), for which storage was declared in the data section. This second integer has its bits in the reverse order from the one input by the user. * Display x. * Display the integer with the reversed bit sequence. * Display the sum of x and y * Display the bitwise AND of x and y * Display the number of 1 bits in x For example: x> **11001011 **x = 11001011 y = 11010011 x+y=11011110 x&y=11000011 x has 5 1-bits. All prompts (e.g. "x> ") and all strings for display (e.g. the "x+y=") should be stored in the data section. Normally the program would involve the use of several loops with fixed count. Since we will not have covered the assembly language syntax for looping by the time you work on the program, instead of loops simply repeat the code that would have been the body of the loop. The files you submit should include main.s, io.s, and a makefile. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site). ## Platform running on Windows xp in codewarrior
Project ID: 2979399

About the project

3 proposals
Remote project
Active 20 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
3 freelancers are bidding on average $12 USD for this job
User Avatar
See private message.
$12.75 USD in 3 days
5.0 (83 reviews)
6.3
6.3
User Avatar
See private message.
$17 USD in 3 days
5.0 (19 reviews)
3.6
3.6
User Avatar
See private message.
$5.10 USD in 3 days
5.0 (8 reviews)
1.8
1.8

About the client

Flag of UNITED STATES
United States
0.0
0
Member since Sep 24, 2003

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.