Find Jobs
Hire Freelancers

Asembler code for prime numbers(repost)

$30-5000 USD

Cancelled
Posted about 17 years ago

$30-5000 USD

Paid on delivery
An assembler code. A general example code attached to ensure correct format and platform. The code asks user to input an 8 digit number, and then checks if it is a prime or not according to following algorithm. If it's not a prime, the smallest dividor is displayed. ## Deliverables The format should be as the attached code (the code is not for the required task, just as an example for the format and platform). The program will ask the user to input an number with up to 8 digits (in order to be able to represent as 32 bit). If the number is found to be a prime, the program will display a message. If the number is not a prime, the program will display its smallest dividor. The method to check if the number is a prime: - check if the number is 2. If so, it is a prime. - check if the number divides by 2. If so, it's not a prime and 2 is its smallest dividor. - if not, j=3: as long as j*j<n: if j divides n without reminder, then j is n's smallest dividor. if not, j=j+2 and check again. The code should be compiled and linked using TASM and TLINK complier and linker. Thanks. ## Platform Windows XP, using compiler and linker TASM and TLINK.
Project ID: 2938435

About the project

5 proposals
Remote project
Active 17 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
5 freelancers are bidding on average $28 USD for this job
User Avatar
See private message.
$42.50 USD in 3 days
5.0 (11 reviews)
4.8
4.8
User Avatar
See private message.
$29.75 USD in 3 days
5.0 (5 reviews)
4.3
4.3
User Avatar
See private message.
$29.75 USD in 3 days
4.8 (26 reviews)
3.1
3.1
User Avatar
See private message.
$17 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$21.25 USD in 3 days
0.0 (1 review)
0.0
0.0

About the client

Flag of UNITED STATES
United States
4.9
12
Member since Jan 8, 2007

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.