user3264821
user3264821

Reputation: 185

Assembly language programs in linux using amd64

Do i need to use AT & T syntax(GAS) or Intel syntax or anything else for writing assembly language program in linux with AMD 64 bit architecture using NASM ? What is the instruction set used to run AMD64? Does it support push pop instructions?

Upvotes: 1

Views: 1910

Answers (1)

Mika Lammi
Mika Lammi

Reputation: 1298

NASM uses intel syntax. Available instructions can be found from AMD manual: http://amd-dev.wpengine.netdna-cdn.com/wordpress/media/2008/10/24594_APM_v3.pdf

Upvotes: 1

Related Questions