Page 1 of 1

Any tools for PB AT&T?

Posted: Sat Dec 10, 2022 6:42 pm
by Everything
Is there any tool to convert fasm to PB AT&T ?

The standard syntax causes compilation errors.
For example with default compiler we use

Code: Select all

!mov     rax, [gs: qword 60h]
With PB_Backend_C

Code: Select all

! __asm__ __volatile__ ("movq %gs:0x60, %rax")   ; error
! __asm__ __volatile__ ("movq %%gs:0x60, %%rax") ; error
                               ^
Does PB use some intermediate syntax or what?