Question

I've searched all over the internet and I can't find the equivalent of the following in AT&T syntax. How is this done in INTEL?

 %assign SYS_EXIT 1
 %assign SYS_WRITE 4
 %assign SYS_READ 3
 %assign SYS_OPEN 5
 %assign SYS_CLOSE 6
 %assign SYS_CREATE 8

Using AS - the portable GNU assembler.

Était-ce utile?

La solution

I believe that would be something like

SYS_EXIT EQU 1
SYS_WRITE EQU 4
...
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top