NotNull 23 Posting Whiz in Training

I am wondering how to use GNU as to output 16-bit DOS .com files,
and how to use As to make 16-bit DOS .exe files.
Can anyone help?