and the correct anwser is:

in al, port ;hardware i/o port (if port > 255 then use dx)
out port, al

i'm amazed no one could anwser this for me!! i actually got help from the qbasic.com forum.

yes, a qbasic forum, a sight more helpful than THIS forum!!