jmp main input: resb 20 get_input: mov ah, 0ah ;user input function int 21h ;for user input ret main: mov dx, input ;move address of input to dx where keyboard input will be returned call get_input int 20h ;return to dos
This code is not working, im using nasm, i want input to initialized to value input by user in keyboard
Edited by dargueta, 02 November 2010 - 01:28 PM.
Added code tags


Sign In
Create Account


Back to top









