mirror of
https://github.com/zeldaret/ph
synced 2026-05-23 06:54:18 -04:00
Update docs
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
@@ -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`.
|
||||
|
||||
Reference in New Issue
Block a user