Arduino MEGA port assignments

Hi everyone, long-time lurker, first time poster. :)

I've been reading up on Port Manipulation (in the Arduino reference section) for simultaneous write and bitwise operations (PORTB, PORTC, etc).

Is there a reference with pin assignments for PORTs on the Mega? The port manipulation reference suggests seeing the specsheet for your model, but I can't seem to find any PORT definitions for the Mega.


Does this help? (not yet verified…)

Looks promising. I should be able to verify this soon. Thanks!!

Also (a work in progress, so ... not yet finished.)

westfw, I was also working on something along those lines: