pub fn get_global_syscall_fired() -> usize
Get the SYSCALL_FIRED flag.
SYSCALL_FIRED
This indicates that the app called a syscall.
We need to do this in assembly because we cannot have Rust access the global variable.