What have you tried??? I am in a giving mood, this should get you started:
equates:
NULL equ 0
no_argument equ 0
required_argument equ 1
optional_argument equ 2
In the .data section:
long_options dd aHelp, no_argument, NULL, 68H, \
NULL, NULL, NULL, NULL
getopt*
is documented, so is NASM. RTFM!