Computing: DOS, OS/2 & Windows Programming

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.

  1. Maximum of an array of unsigned integers.
  2. Minimum of an array of signed integers.
  3. Minimum and maximum of an array of signed integers (with "minimum" and "maximum" functions).
  4. Average of an array of floating-point numbers.
  5. Minimum and maximum of an array of floating-point numbers (with "minimum" and "maximum" functions).
  6. Squares of the elements of an array of unsigned integers.
  7. Squares of the elements of an array of unsigned integers (with "squares" subroutine).
  8. Squares of the elements of an array of unsigned integers (with "print" subroutine).
  9. Sort of an array of positive integers (with "print" subroutine).
  10. Sort of an array of signed integers entered by the user (with "input", "print", and "sort" subroutines).
  11. Accessing the elements of a two-dimensional array (with "offset" function).
  12. Addition of two 2×2 matrices (with "offset" function).
  13. Random number series.
  14. Random number distribution (number counts).

"Real world" programs (without explanations).

  1. "Guess the number" game.
  2. Linear equations in one variable.
  3. Equation of a line passing through two points.


If you find this text helpful, please, support me and this website by signing my guestbook.