Skip to content
Snippets Groups Projects
Commit 9dcb4b87 authored by August Svensson's avatar August Svensson
Browse files

..

parent 46dfaa68
No related branches found
No related tags found
No related merge requests found
...@@ -121,7 +121,8 @@ fn main() -> ! { ...@@ -121,7 +121,8 @@ fn main() -> ! {
// //
// Why is it important that ordering of volatile operations are ensured by the compiler? // Why is it important that ordering of volatile operations are ensured by the compiler?
// //
// ** your answer here ** // ** If read/write instructions are reordered, the consequences are undefined, since peripherals
// depend on the contents of registers that are read from/written to. **
// //
// Give an example in the above code, where reordering might make things go horribly wrong // Give an example in the above code, where reordering might make things go horribly wrong
// (hint, accessing a peripheral not being powered...) // (hint, accessing a peripheral not being powered...)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment