Simplest assembly program for gnu assembler(gas)

view full story

http://ubuntuforums.org – Hello, I am trying to learn programming using gas.But I did not find any tutorial that will show me the simplest program sample that I can run on my PC. I searched over Internet from a day, but I didn't find it. I want a sample code that will store(move) value 1 into register eax and steps for assembling and loading ..thanks..That will surely help me to get started , into writing the assembly language programs.. thanks.. (Hardware)