문제

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
...
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top