How to shorten my code so it can meet command jumping length
I have this code that I’m trying to run but it tells me that it’s too big of a jump.
At first it said “Relative jump out of range by 0015h bytes” when the code was this:
How can I fix my code in assembly language to enable me to input more than one digit and also to display the results accordingly?
.model small .stack 1000h .386 .data prompt db “Welcome to the Main Menu”, 13, 10, “1. Adding 2 numbers”, 13, 10, “2. Odd and Even”, 13, 10, “3. Positive and Negative”, 13, 10, “4. Exit”, 13, 10,”Enter your choice: $” invalid db “Invalid choice. Please try again.$” newline db 13, 10, “$” msg1 DB 10,13,’Enter […]