Skip to main content

svc

Macro svc 

Source
macro_rules! svc {
    ($num:expr) => { ... };
}
Expand description

Generate an SVC call with no parameters.

Puts the first argument in the instruction. Gives you back the value left in r0 by the handler.

let value = svc!(0xFF);