movl $3, %eax #3 is the number of the system call "read"
movl $0, %ebx #0 is the keyboard identifier
leal var, %ecx #u put the pointer to that variable in the register ecx.
movl $1, %edx #it reads 1 character (the speed of reading)
int 0x80 #call interrupt 0x80 to execute the system call read.
#this is how u can print ur string now :
movl $4, %eax #4 system call write
movl $1, %ebx #1 stdout
leal var, %ecx
movl var_len, %edx