Guest User

Untitled

a guest
Oct 24th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. `int __attribute__ ((noinline)) mySystemCall (uint32 Exception, uint32 Parameter)
  2. {
  3. #ifdef PROCESSORX
  4. __asm__ volatile ("sc")
  5. #else
  6. __asm__ __volatile__ ("mov R0, %0; mov R1, %1; svc 0x0 " : : "r" (Exception), "r" (Parameter));
  7.  
  8. }
Add Comment
Please, Sign In to add comment