diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 428364a3..4a4ae9b8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -122,7 +122,7 @@ Non-matching functions must be written as follows: ```cpp #include "global.hpp" -NONMATCH void MyFunction() { +void NONMATCH(MyFunction)() { #ifndef NONMATCHING #include "../asm/path/to/asm.inc" #else diff --git a/docs/inline_assembler.md b/docs/inline_assembler.md index 72339c4e..2ca7d5de 100644 --- a/docs/inline_assembler.md +++ b/docs/inline_assembler.md @@ -21,7 +21,7 @@ dcd 0x1234 #### `ldconst`: Loads a literal 32-bit value ```asm -ldconst r0, 0x1234 +ldconst r0, #0x1234 bx lr ``` This code is equivalent to the above example using `dcd`.