fork(3) download
  1. #include <stdio.h>
  2. #include <stdint.h>
  3.  
  4. int main()
  5. {
  6. uint32_t v = 0x80000000;
  7. __asm __volatile ("sarl $1, %0": "+r" (v));
  8. printf("%08x\n", v);
  9. }
  10.  
Success #stdin #stdout 0s 4480KB
stdin
Standard input is empty
stdout
c0000000