The simple is obviously the correct way.

  u8 g_aucPara[ 128 ] = { 0 }; 
  ... 
  asm("mov &0x0202,g_aucPara(r6)":: );

Compile to: 
  11c4:        96 42 02 02         mov        &0x0202,516(r6) ;0x0202 
  11c8:        04 02 

Dirk

Reply via email to