Addressing ATmega registers by number

Point taken about the + 0x20, but a line like:

0x24 = ....

will never compile. I need some way to tell the compiler to access the AVR's register, not the number. Any idea where I can find the DDRx macro? Maybe I can figure it out from the source codes.