macro_rules! software_interrupt {
    ($x:expr) => { ... };
}
Available on crate feature instructions only.
Expand description

Generate a software interrupt by invoking the int instruction.

This currently needs to be a macro because the int argument needs to be an immediate. This macro will be replaced by a generic function when support for const generics is implemented in Rust.