Reputation: 197
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.
Upvotes: 0
Views: 1765
Reputation: 28839
I believe that would be something like
SYS_EXIT EQU 1
SYS_WRITE EQU 4
...
Upvotes: 1