The stdlib
module is automatically imported on most targets.
Stores a byte at given constant address. Will not be optimized away by the optimizer.
Reads a byte from given constant address. Will not be optimized away by the optimizer.
Disables interrupts.
Enables interrupts.
Returns an ASCII representation of the upper nibble of the given byte.
Returns an ASCII representation of the lower nibble of the given byte.
Crashes the program.
Informs the optimizer that at this point arbitrary memory has been accessed and either read or written by an external device. The optimizer should not optimize any memory accesses across that macro.
Available for: all targets.
If the -fbreakpoints
option is selected (default), then it emits a memory barrier,
and also outputs a breakpoint to the label file (if the format of the label file allows it).
If the -fno-breakpoints
option is selected, then it does nothing.
Available for: all targets.