Clarify comment segfault behaviour when absent
This commit is contained in:
@@ -29,6 +29,9 @@ main:
|
|||||||
|
|
||||||
; This segfaults when moved below the line "jne .fail"
|
; This segfaults when moved below the line "jne .fail"
|
||||||
; Why?
|
; Why?
|
||||||
|
; Because it stores the float registers on the stack
|
||||||
|
; as well. This doesn't seem to be particularly well
|
||||||
|
; documented.
|
||||||
sub rsp, 8 ; allocate 8 bytes = 2 integers
|
sub rsp, 8 ; allocate 8 bytes = 2 integers
|
||||||
|
|
||||||
cmp r12, 3 ; argc == 3
|
cmp r12, 3 ; argc == 3
|
||||||
|
|||||||
Reference in New Issue
Block a user