MASM & Low Level I/O

Screenshot of x86 Assembly code

Definitely check this one out if you’re interested in MASM or IA-32 (x86) Assembly Language. This program uses string primitives, macros and procedures to perform low-level I/O operations with the Microsoft Macro Assembler (MASM). MASM is an x86 assembler.

The program asks for 10 signed integers from the user as strings. The strings are converted from ASCII to SDWORDs and stored in an array. Then, their sum, and the truncated average are calculated. Finally, all numbers entered by the user as well as the results are converted back to their ASCII representations and printed as strings.

source code

Updated Dec 9 2022