Control output pins using 8-bit number

Hi, thanks for the replies. However, the only problem is that I would like the DAC to be on pins 2-9, so I have access to the Serial Tx/Rx lines (pins 0 and 1). Is this possible to do? Any ideas? Unfortunately, there are only six data lines on Port B.
Thanks.