Skip to main content

prelude

Function prelude 

Source
pub fn prelude() -> String
Expand description

Assembler .equ lines naming every control register, cause and flag.

The counterpart to the device prelude: prepend it so a supervisor written in assembly names TVEC and CAUSE_ECALL instead of 0 and 6.