summaryrefslogtreecommitdiffstats
path: root/zpu/roadshow/roadshow/codesize/small.c
blob: 03173434b8f68a6886a1d825c51b822213b01952 (plain)
1
2
3
4
5
6
7
8
9
void _premain(void)
{
  volatile int *someRegister=(volatile int *)0;
  volatile int *otherRegister=(volatile int *)4;
  while (*someRegister!=0)
    {
      *otherRegister++;
    }
}
OpenPOWER on IntegriCloud