NASM - The Netwide Assembler

NASM Forum => Programming with NASM => Topic started by: Franciswalser on January 28, 2023, 05:50:07 AM

Title: Issue with Function.
Post by: Franciswalser on January 28, 2023, 05:50:07 AM
Hello, I'm new on assembly and am having problems with a program I am trying to create. The program is supposed to accept 3 inputs from the user which include an arithmetic operation and 2 numbers. The program should then pass the three values and display the answer with a message. I am having trouble getting the program to jump properly as it would display the 2 numbers being used for all the operations and then abruptly end the program instead of just showing the operation the user picked and asking the user if they would like to do another one. Does anyone know how I can solve this problem? Thanks! TellCulvers Customer Satisfaction Survey (https://www.tellculvers.onl/)
Title: Re: Issue with Function.
Post by: debs3759 on January 28, 2023, 06:09:17 AM
It'll be easiest if you show us your code and tell us what OS you are targeting.