Mini Game of Life - Stanford's CS106B Modified First Assignment
2025-08-08
The Game of Life, devised by mathematician John Conway, is a cellular automaton that models a zero-player game. The simulation evolves deterministically based on an initial grid configuration and a set of predefined rules. The game takes place on a two-dimensional grid where each cell is either alive or dead, and the state of the grid updates over discrete time steps, referred to as generations or ticks. The evolution of each cell depends solely on the number of its living neighbors, making it an excellent example of how simple local rules can produce complex global behavior.
1056 words
|
5 minutes
Addition Using Partial Registers
In x86 assembly, partial registers allow access to smaller parts of the full CPU registers (like 8-bit or 16-bit parts of EAX, EBX, etc.). These partial registers can be used in arithmetic operations such as add.
1124 words
|
6 minutes
Addition using fully register
Addition is one of the most fundamental operations in assembly language. In x86 architecture, the add instruction performs arithmetic addition on registers, memory, or immediate values.
555 words
|
3 minutes
Inroduction to CPU Register
alt text Registers are tiny storage spaces inside a computer’s CPU (Central Processing Unit). They’re super fast and are used to hold data the CPU needs right now, like numbers being added or memory addresses.
487 words
|
2 minutes
MOV Instructions
In assembly, mov stands for “move”, but it doesn’t actually move data — it copies data from one location to another.
619 words
|
3 minutes
Draft Example
This article is currently in a draft state and is not published. Therefore, it will not be visible to the general audience. The content is still a work in progress and may require further editing and review.
72 words
|
1 minute