The code is attached. It was run in Visual Studio Community 2022.
MASM Procedure call
My Visual Studio Community 2023 project is supposed to display "Hello World!" twice because it calls a procedure 2 times to do this. But it seems like only the first call executes successfully. What is wrong and how can it be fixed?
The main program main.asm is a MASM assembly program that calls an assembly procedure to display "Hello World!". The procedure is called twice. If I could attach the project as a zip file I would but I cannot. If I can send you the zip file and you look at the program I'm sure you will resolve the problem because the program is so simple.
The goal is to learn how to use procedures in MASM assembly. So I started with something simple.