Detailed arduino code

Hi,

is it possible to look at the actual code that's working behind the code we use in arduino IDE?

I mean, it is like when we use the function digitalWrite(13, HIGH);

in C we can actually write like DDRB = 0xFF;

Can we look at the actual code anywhere else?

Thx

Yes, all the source is in the distribution you downloaded

Look in the hardware\arduino\cores\arduino\ directory.