Cannot make 8 and 16 bit port transfers

I would like to know how to use all 8 bit of a port or 16 bit of a port (I have the AtomPro 24 and 40) using instructions like Output… I have tried OUTL and OUTH, OUTS. There are no examples or descriptions in the syntax manual from Basic MIcro at all, I need all 8 bits or 16 bits at one time. Only bit transactions can take place. I do not even know if I should DIRS commands to set the ports first. Again there no examples anywhere.

Yep there is not much in their docs or examples on this.

Note: I have not done much with these so not sure how well they work… (Nathan would be better in answering this…)

You should not assume the direction ports are set to output and set them…

Also depending on which modules you use, it should not be assumed that the 8 contiguous pin numbers on a BAP directly map to the 8 pins of one underlying H8 IO port. Actually on a BAP40 it is pretty good, like:
P0-P7 do map to Port 5 pins 0-7
P8-P15 map to Port 6 0-7

So in theory you should be able to do:
dirb0=0xff ; set all 8 bits of P0-P7 to output
outb0 = 0xff ; set all 8 bits to high…

Kurt