More than a year ago, in the fourth semester of my engineering studies I was formally introduced to the assembly level programming of the Intel 8086. However, to test my programs I got a special software package installed on my PC. The extra piece of software was justified as there was the need for an emulator - something that mimics the 8086 on anybody's computer. But the question remained ... when am I going to write an assembly program that I can directly run on my own processor and not on an emulator.
Now, after a while and having rediscovered my interest for assembly I have finally figured out that it is extremely easy using gcc on my Linux terminal - Write the assembly code and save to a test file with the extension .s.
Next on the terminal
$ gcc test.s
$ ./a.out
Done !!
Here is a wonderful tutorial http://linuxgazette.net/issue94/ramankutty.html
Now, after a while and having rediscovered my interest for assembly I have finally figured out that it is extremely easy using gcc on my Linux terminal - Write the assembly code and save to a test file with the extension .s.
Next on the terminal
$ gcc test.s
$ ./a.out
Done !!
Here is a wonderful tutorial http://linuxgazette.net/issue94/ramankutty.html
Comments
Post a Comment