Windows 64bit assembly programming by example: Sample programs list.
Introduction. | 1. Numbers and arrays. | 2. Characters and strings. | Sample programs list. |
Numbers and arrays.
Program samples.
- Maximum of an array of unsigned integers.
- Minimum of an array of signed integers.
- Minimum and maximum of an array of signed integers (with "minimum" and "maximum" functions).
- Average of an array of floating-point numbers.
- Minimum and maximum of an array of floating-point numbers (with "minimum" and "maximum" functions).
- Squares of the elements of an array of unsigned integers.
- Squares of the elements of an array of unsigned integers (with "squares" subroutine).
- Squares of the elements of an array of unsigned integers (with "print" subroutine).
- Sort of an array of positive integers (with "print" subroutine).
- Sort of an array of signed integers entered by the user (with "input", "print", and "sort" subroutines).
- Accessing the elements of a two-dimensional array (with "offset" function).
- Addition of two 2×2 matrices (with "offset" function).
- Random number series.
- Random number distribution (number counts).
"Real world" programs (without explanations).
- "Guess the number" game.
- Linear equations in one variable.
- Equation of a line passing through two points.
If you find this text helpful, please, support me and this website by signing my guestbook.