How do i get user input in assembly? after getting the input, i'd like for the inputted value to be stored in a char array in c.
i'm new to assembly and i am having a hard time trying to figure this out.
i've tried a code like this and obviously it's wrong. lol
printf("Enter a 16 bit Hexadecimal number:"); __asm__ ("leal edx,%0;" "movl ah, 0ah;" "int 21h;" : "=r" ( val ) );
anyway, any help would be great. thanks!