How do you translate these lines from Linux assembly to Intel assembly?
pushl cb_queue
pushl %eax
popl (%eax)
jg .FOR_end0
.FOR_end0:
sete (%esp)
pushl $.rte_isqrt
.rte_isqrt:
.string "isqrt returns no value"
How do you translate these lines from Linux assembly to Intel assembly?
pushl cb_queue
pushl %eax
popl (%eax)
jg .FOR_end0
.FOR_end0:
sete (%esp)
pushl $.rte_isqrt
.rte_isqrt:
.string "isqrt returns no value"
Running intel2gas -g (the switch reverses the direction of translation) produces:
push dword [cb_queue]
push eax
pop dword [eax]
jg .FOR_end0
.FOR_end0:
sete [esp]
push dword .rte_isqrt
.rte_isqrt:
db 'isqrt returns no value'
(It's normally called AT&T syntax, not Linux assembly.)