@PcodeUserop
	default void syscall(@OpExecutor PcodeExecutor<T> executor,
			@OpLibrary PcodeUseropLibrary<T> library) {
		long syscallNumber = readSyscallNumber(executor.getState(), executor.getReason());
		EmuSyscallDefinition<T> syscall = getSyscalls().get(syscallNumber);
		if (syscall == null) {
			throw new EmuInvalidSystemCallException(syscallNumber);
		}
		try {
			syscall.invoke(executor, library);
		}
		catch (PcodeExecutionException e) {
			if (!handleError(executor, e)) {
				throw e;
			}
		}
	}
The entry point for executing a system call on the given executor

<p>
The executor's state must already be prepared according to the relevant system calling
conventions. This will determine the system call number, according to
{@link #readSyscallNumber(PcodeExecutorState, Reason)}, retrieve the relevant system call
definition, and invoke it.

@param executor the executor
@param library the library
Ghidra/Features/SystemEmulation/src/main/java/ghidra/pcode/emu/sys/EmuSyscallLibrary.java