I would like to be able to have the user input a 1 or 0 and have whatever was inputted into an array. Here is what I have so far.
.model small
.stack 100h
.code
start:
my_arr db ?
mov dl, [my_arr]
mov [my_arr], al
add dl, '0'
mov ah, 2h
int 21h
end start
Basically I'm trying to get it to input into the array, then testing if the it worked by outputting the first element in the array. Right now all it outputs is N..which I'm assuming stands for null meaning nothing is being inputted in the array based on this code. Can somebody help me out?