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

relocate

Function relocate 

Source
pub fn relocate(
    word: u32,
    kind: u32,
    linked: u32,
    loaded: u32,
    offset: u32,
) -> Result<u32, Error>
Expand description

Relocate a checked self-reference, retaining its instruction opcode. offset is the actual instruction offset, including for J26 PC+4 rules.