You are on page 1of 1

array 1 db 5 dup (0); a 5 byte array with the value of 0

mov byte prt [array1],0 ;Store 0 in the first element


mov [array1+1],bl ;Store the contents of BL in the second element
mov al, [array1+2] ;Read the third element and put it in AL

You might also like