Variable Placement
Placing variables at a specific address into memory.
Last updated
u32 globalVariable;u8 lastValue; // A global variable
fn setLastValue(u8 value) {
lastValue = value;
};
struct Test {
u8 value;
setLastValue(value);
};
Test test[10] @ 0x00;