Skip to content

Instantly share code, notes, and snippets.

@lucmann
Last active July 12, 2024 10:48
Show Gist options
  • Save lucmann/c49b12d2a0e92ca355b53294b976f810 to your computer and use it in GitHub Desktop.
Save lucmann/c49b12d2a0e92ca355b53294b976f810 to your computer and use it in GitHub Desktop.
arm assembly
  • ldp x0, x1, [sp, #0x10] load values from sp+0x10 into x0, x1 respectively

  • svc #0x0 trigger SuperVisor Call exception, used to implement syscall, 0x0 is an argument passed into the exception handler (sw intr handler in linux)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment