/Intel-4004-Random-Number-Generator

A 16 bit random number generator for the Intel 4004 or 4040 CPU

Primary LanguageAssembly

Intel 4004 Random Number Generator

This program for the Intel 4004 CPU generates and prints 16 bit random numbers using the Marsaglia or xorshift algorithm. The program was assembled with the Macro Assembler AS. The program was written to run on my Intel 4004 Single Board Computer. The 'putchar' function will undoubtedly need to be modified to run on your hardware or in your emulator.