This is a program for practicing input and output procedures with MASM x86 Assembly. The program takes in 10 signed decimal integers from the user, and then displays the integers, along with their sum and their average. This activity is all about learning assembly via reading in strings and then converting those strings to integers before writing those values to the console.
This is a small and simple program but environments that run MASM can be rare. The options are usually limited to the Visual Studio IDE or to a third-party app/webapp that runs assembly (usually using Wine to simulate a Windows Command Prompt). Both of these options are discussed below.
Note that different versions/years of Visual Studio will have different requirements for running MASM x86. Describing how to fully setup MASM on Visual Studio is beyond the scope of this ReadMe, but sources will be provided below as to how to get started with this in Visual Studio 2017. Note that the Irvine Library is required to run the program.
In order to use the program, please clone the repo or simply copy the sole .asm file:
git clone https://github.com/UreshiiPanda/AssemblyIO.git
Luckily, istareatscreens has built a portable MASM editor, complete with everything needed to run the program, including the Irvine Library. Note that there is also a web version available on the repo (below). Simply remove the "INCLUDE Irvine32.inc" line from this repo's code and paste it in the editor. Note that you must click on the Wine window in order to initiate user input into Command Prompt.