I need to know what the last two lines of code do,everything compiles and works as expected. My section declarations are:
SECTION .data
prompt: db "Enter 10 digits: "
plen: equ $-prompt
SECTION .bss
digits: equ 10
inbuf: resb digits + 2
SECTION .text
The code snippet that I don't understand is:
mov al, ah ; move AH to AL
add al, '0' ;add the ascii value of 0 (48) to al, store in al
mov [inbuf+10], al ;????
mov byte [inbuf+11], 10 ;?????
Thank you