|
; ===== Data Section =====
Array DW 5,4,7,8 ; Array of Unsigned 16-bit numbers
ArraySize DW 4 ; Number of elements in the array
K DW 2 ; An Unsigned constant (=2)
; ===== Code Section =====
main proc far
mov ax, cseg ; Initialize DS register
mov ds, ax
call dosxit ; Exit to DOS
main endp
cseg ends
end main |