mirror of
https://github.com/pkivolowitz/asm_book.git
synced 2026-06-21 01:56:47 +08:00
fixed typos in apple silicon chapter
This commit is contained in:
parent
0c141c342f
commit
e072dd7899
1 changed files with 4 additions and 2 deletions
|
|
@ -42,7 +42,6 @@ This gets expanded to:
|
|||
```text
|
||||
adrp x0, fmt@PAGE
|
||||
add x0, x0, fmt@PAGEOFF
|
||||
.endm
|
||||
```
|
||||
|
||||
## Loading the address of data
|
||||
|
|
@ -85,7 +84,6 @@ Hence:
|
|||
```text
|
||||
adrp x0, fmt@PAGE
|
||||
add x0, x0, fmt@PAGEOFF
|
||||
.endm
|
||||
```
|
||||
|
||||
The first instruction puts the high bits of the label's address in `x0`.
|
||||
|
|
@ -239,6 +237,10 @@ To be Apple compatible, in addition to backing up `x30` also back up
|
|||
|
||||
`mov x29, sp`
|
||||
|
||||
### More?
|
||||
|
||||
As we discover more differences, they will be described here.
|
||||
|
||||
## START_PROC and END_PROC
|
||||
|
||||
Again, for debugging purposes, you can insert frame checks into your
|
||||
|
|
|
|||
Loading…
Reference in a new issue