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.
I believe that would be something like
SYS_EXIT EQU 1
SYS_WRITE EQU 4
...
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.