Skip to content

Commit f63b37b

Browse files
authored
Fix confusion around clobbers and register classes
1 parent 41641da commit f63b37b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/inline-assembly.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ Here is the list of currently supported register classes:
184184
>
185185
> - On x86-64 the high byte registers (e.g. `ah`) are not available in the `reg_byte` register class.
186186
>
187-
> - Some register classes are marked as "Only clobbers" which means that they cannot be used for inputs or outputs, only clobbers of the form `out(<register class>) _` or `lateout(<register class>) _`.
187+
> - Some register classes are marked as "Only clobbers" which means that registers in these classes cannot be used for inputs or outputs, only clobbers of the form `out(<explicit register>) _` or `lateout(<explicit register>) _`.
188188
189189
Each register class has constraints on which value types they can be used with.
190190
This is necessary because the way a value is loaded into a register depends on its type.

0 commit comments

Comments
 (0)