Arduino Due using the same language ?

evmaker:
Most all of my simple sketches seem to run on my due. However I have not found out how to go into a register and modify a single bit yet, I would dearly love to go to 0x40094000 and change bit# 19 to a zero.
I have been trying with word, bitWrite, and bitClear with no success.

Have you tried something direct and simple like this? (I haven't got a Due, but this compiles for Maple, which also uses gcc for an ARM Cortex-M3 target:)

#include <stdint.h>

void setup()
{
  uint32_t *p = (uint32_t *)0x40094000; // set up int pointer to address
  *p &= ~(1 << 19);  // clear bit 19  
}

void loop()
{
}

BTW, what is clearing bit 19 at address 0x40094000 supposed to do?