Skip to content

Generates a number of primes using the Sieve of Eratosthenes.

Notifications You must be signed in to change notification settings

flwrr/Prime-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prime Generator

This assembly language program calculates up to the first 4000 prime numbers using the Sieve of Eratosthenes. The sieve formed in generating the n number of primes can be viewed afterward by pressing 'x', where each array element represents the value equal to its index (the first elements represents the number 0), and stores either a '1', marking a prime or a '0', marking a non-prime.

Alt Text

🔶 Run Example

primeGenerator

About

Generates a number of primes using the Sieve of Eratosthenes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published