fork download
  1. #include <stdio.h>
  2.  
  3. typedef unsigned int uint;
  4. void someFunc(uint *a)
  5. {
  6. printf("%x\n", a);
  7. }
  8.  
  9. int main(void) {
  10. volatile uint *toAddress = (uint *)0xC800;
  11.  
  12. int i = 0;
  13. do {
  14. someFunc(toAddress);
  15. toAddress += (2048 >> 2);
  16. } while(++i < 10);
  17.  
  18. return 0;
  19. }
  20.  
Success #stdin #stdout 0s 2168KB
stdin
Standard input is empty
stdout
c800
d000
d800
e000
e800
f000
f800
10000
10800
11000