user37306: I want to read the value of the register (8-bit). In particular I want to read the values of:

The Timer/Counter - TCNT0 ( Adress 0x26 (0x46) )
The output compare registers - OCR0A and OCR0B.

Is there a way to read them with the Arduino program?

user42015: To convert my comments to an answer:
You can use the register names directly. They are defined in the boards/chips core. To read them, simply use the names in your calculations. Write to the registers by setting the value of the registers name (like a variable: TCNT0 = 0;). Be sure to look into the datasheet, to check the behavior of that register.

37306: <p>I want to read the value of the register (8-bit). In particular I want to read the values of:</p>

<ol>
<li>The Timer/Counter - TCNT0 ( <strong>Adress</strong> 0x26 (0x46) )</li>
<li>The output compare registers - OCR0A and OCR0B.</li>
</ol>

<p>Is there a way to read them with the Arduino program?</p>
 42015: <p>To convert my comments to an answer:</p>

<p>You can use the register names directly. They are defined in the boards/chips core. To read them, simply use the names in your calculations. Write to the registers by setting the value of the registers name (like a variable: <code>TCNT0 = 0;</code>). Be sure to look into the datasheet, to check the behavior of that register.</p>
