Skip to main content
← PSoXide SDK guides and examples · SDK f2fec1c301f1 · All Cargo features enabled; check feature gates before use.

is_command

Function is_command 

pub const fn is_command(word: u32) -> bool
Expand description

Whether word is a GTE function command (top seven bits 0100101).

An interrupt taken on such an instruction leaves EPC on it, so a handler that returns to EPC runs the command twice; it steps over the word instead.