Why is my code not working? Function one and two are correctly running. Third function is setting both OF and CF third_func: push rbp mov rbp, rsp ; Set both the carry and overflow ; flags. stc mov rax, 0x7FFFFFFFFFFFFFFF add rax, 1 pop rbp ret
Why is my code not working? Function one and two are correctly running. Third function is setting both OF and CF third_func: push rbp mov rbp, rsp ; Set both the carry and overflow ; flags. stc mov rax, 0x7FFFFFFFFFFFFFFF add rax, 1 pop rbp ret
Related questions
Question
Why is my code not working? Function one and two are correctly running. Third function is setting both OF and CF
third_func:
push rbp
mov rbp, rsp
; Set both the carry and overflow
; flags.
stc
mov rax, 0x7FFFFFFFFFFFFFFF
add rax, 1
pop rbp
ret
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps