What does `a+y(%reg)` do in AT&T syntax

55 Views Asked by At

I am translating musl's x86_64 sigsetjmp into intel syntax but cannot figure out what the following two lines of assembly are doing:

mov %rbx,72+8(%rdi)
...
mov 72+8(%rbx),%rbx

My guess is it is getting the value at 8(%rdi) and adding 72 to it. But I can't find a way to do that in intel syntax so not sure. I haven't found anything online that explains what this syntax is doing.

0

There are 0 best solutions below