summaryrefslogtreecommitdiffstats
path: root/zpu/roadshow/roadshow/codesize/smallstd.c
blob: 5d4b87a119b76e2038cf97dc18298ee99fe35e51 (plain)
1
2
3
4
5
6
7
8
9
int main(int argc, char **argv)
{
  volatile int *someRegister=(volatile int *)0;
  volatile int *otherRegister=(volatile int *)4;
  while (*someRegister!=0)
    {
      *otherRegister++;
    }
}
OpenPOWER on IntegriCloud