Leonardo: Output of 2 8-bit numbers on the ports

I'm currently trying to output 2 8-bit numbers on the digital IO ports of my Leonardo.
According to the documentation (Arduino Reference - Arduino Reference), only PORTD seems to support full 8 bit output. The reason I'm using the ports directly instead of the functions for this is because I need the maximum output speed the chip can provide.

How can I output the other 8 bits? Do I have to split the number and output it partially on PORTB and PORTC? If so, code for the bit magic would be greatly appreciated :wink:

According to the documentation (Arduino Reference - Arduino Reference), only PORTD seems to support full 8 bit output.

That does not apply to a Leonardo only the 328 based arduinos.
For that see:-
http://forum.arduino.cc/index.php/topic,148308.0.html

Do I have to split the number and output it partially on PORTB and PORTC?

Yes.
Although as you see you have to decide what pins to use as you haven't got an 8 bit port.
Code will involve shifting bits but can't give you any input until you decide on what bits you are going to use.

Thanks.
I don't really know how to read this; I'm not very experienced with these things. What pins would belong to which ports? An overview of ports and pins similar to the one on the page I linked would be very helpful.

The labels closest to the board are the port numbers, So the analogue pin A5 is port pin PF0, that is port F bit zero and A0 is PF7, port F and bit seven.
Likewise you have ports B, C, D & E brought out as other pins on the board.

Thanks!
So on the Leonardo I can just use all available pins that are marked with the yellow annotation or are there some special cases? Could I, for example, use pins PF0, PF1, PF4-PF7 and PB4-PB5 for my first 8 bit output and then PD0-PD4, PD6-PD7 and PB6 for my second output?

Also, since the processor is little endian, setting PORTD = 1 would result in PD0 being turned on?

Yes, PORTD = 1 is the same as PORTD = 0b00000001, so bit 0.

since the processor is little endian,

This has nothing to do with bit order in a byte, it has to do with byte order in words.