https://github.com/missn0body/mcg
A terminal Assembly program to generate pseudorandom numbers
https://github.com/missn0body/mcg
linux pseudo-random-generator terminal
Last synced: 7 months ago
JSON representation
A terminal Assembly program to generate pseudorandom numbers
- Host: GitHub
- URL: https://github.com/missn0body/mcg
- Owner: missn0body
- License: unlicense
- Created: 2024-04-27T00:05:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-12T05:12:03.000Z (over 1 year ago)
- Last Synced: 2025-02-07T12:14:32.872Z (8 months ago)
- Topics: linux, pseudo-random-generator, terminal
- Language: Assembly
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mcg
A barebones assembly psuedorandom number generator.
Made by anson.This small(er) assembly program uses the [Lehmer/Park-Miller random number generator](https://en.wikipedia.org/wiki/Lehmer_random_number_generator)
to generate psuedorandom numbers in the range of 0 to 255.
This program is seeded with the current time for a different
number every invocation, and can report its internal variables
using the `-r` flag at the command line.At the moment (as of v.1.0.0), the internal variables can not be
altered by the user, nor the bounds that the generator outputs
numbers in. This can be subject to change in the future.Usage and options can be read by invoking `mcg --help` at the
command line. This project refuses a standard license, See UNLICENSE for
related details. Issues, bugs, and other things can be discussed
at my E-Mail,### v.1.0.0
(May 2024)
A multiplicative congruential generator in Assembly.