Hi,
dann musst du wohl doch eine If Abfrage (oder select case) machen..
Sind ja nur 8.. (Wenn du pro Bit einen Pin schalten willst)

Code:
if meinbyte.0 = 1 then
   portb.0=1
 else 
  portb.0=1
endif
..
..
..
..
if meinbyte.7 = 1 then
   portba.5=1
else 
  porta.5=1
endif
Gruß
Christopher