Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion posts/2024-03-30-i128-layout-update.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ section _3.2.3 Parameter Passing_:

We can try this out by implementing the calling convention manually. In the below C
example, inline assembly is used to call `foo(0xaf, val, val, val)` with `val` as
`0x0x11223344556677889900aabbccddeeff`.
`0x11223344556677889900aabbccddeeff`.

x86-64 uses the registers `rdi`, `rsi`, `rdx`, `rcx`, `r8`, and `r9` to pass function
arguments, in that order (you guessed it, this is also in the ABI). Each register
Expand Down