Decode syscall opcode in asm and call a seperate function per syscall.