MASM Procedure call

Deborah Santmyer 0 Reputation points
2023-10-13T22:58:50.2733333+00:00

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.

Developer technologies Visual Studio Other
{count} votes

1 answer

Sort by: Most helpful
  1. Deborah Santmyer 0 Reputation points
    2023-10-14T13:18:33.9166667+00:00

    The code is attached. It was run in Visual Studio Community 2022.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.