This my modified code but by some reason when I enter the number it writes at the screen all the messages at the same time. For example if I enter 1 it writes:
The number is one
The number is two
The number is three
The number is four
The number is five
What am I doing wrong? Any help will be...
As anyone can see I'm a newbe in assembly. I'm just trying to learn a bit and practicing. My problem right now is that I just created a program that allows me to enter any number from 1 to 5 and once I enter it the program will display the number I entered but instead of a number it will say the...
I have this code but when i excecute it the computer keep beeping and the application freeze. What am I doing wrong?
.model small
.stack 100h
.data
memTeclado label byte
longBuffer db 20
totalCaract db ?
contenido db 20 dup('$')
caracter db ?
mensaje db "This program...
I need to create an array of 20 values (bytes) and compute the average. I'm new in this. This is my code for the addition phase:
.MODEL SMALL
.STACK 100h
.DATA
arreglo db 3, 8, 5, 3, 9, 2, 1, 4, 5, 11, 2, 1, 12, 10, 7, 17, 18, 6, 14, 13
arrsuma db ?
promedio db ?
.CODE
main proc
mov...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.