Skip to main content

Learning assembly is easy

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


Comments

Popular posts from this blog

Jump start into Character Recognition - Part 1

Motivation The dawn of computers and their integration into a huge network called the internet has accelerated the sharing of knowledge like never before. However, there exists a divide between the forms of expression familiar to us and the forms in which the information can be fed in at a computer terminal. For example, when writing about scientific material we make extensive use of diagrams to convey the ideas, but, feeding a graphic into the computer, requires special effort and doesn't come naturally. These and other aspects have always been a matter of concern for me, being someone fond of publishing on the web whatever I know :) Any how, the aim of this article and other in this series is not to demonstrate my solution to the above problem ... instead to attract young and curious minds to the problem so that they may contribute to it solution. Start The plan is to build, step by step, a very simple, character recognition program which would take a simple text file contai...