Where would you write an IF statement in x86_64 Assembly?

Viewed 33

I'm trying to compare two float values in x86_64 Assembly. I'm new to it and I don't know where I should include the if statement.

ucomisd xmm15, xmm14
ja first_num_greater
jle second_num_greater

What I have is this ^, what I think I should be doing is creating

first_num_greater db
second_num_greater db 

in my segment .data section. I'm a bit confused here and I'm unsure of where to head next or if I'm even correct with this idea.

0 Answers
Related