Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

what is the Simplest Assembly Language Program

Status
Not open for further replies.

nasirmirza

Technical User
Nov 12, 2002
2
PK
Hello all,
Iam a electronic hobbist and now want to learn microcontrollers and assembly programming but since iam not going to any educational institue for this so i have to take information from internet and books.
Let say that this is my first class in assembly Language now i have some knowledge of binary and decimal , simultors , compliers ....
Lets say that i want to make a circuit in which i use a microcontroller eitheir 8051 or 89c52 and other related components to make a LED Flash...
How i can do this using assembly coding and microcontroller use.
Iam only asking this so that i can get some example kind of thing to get my self started. Please step wise instruction is needed.
Like let say i opened my computer , now there is no simultor , NASM or TASM or any thing.. what are the things that i have to install firstly before writting the program and then what i have to do..
I will be very thankful if some one can guide me step wise.
 
If you want to write assembly programs for general-purpose processors (like Intel 80x86 family and clones), you could read The Art of Assembly Language Programming by Randall Hyde. Its available online, search on Google.
If you want to write code for dedicated processors (microcontrollers and stuff), read the ducumentation for the processor you're using, it should contain a description of the instruction set. If there is an assembler for the instructions set, you're lucky, else you will have to use a hex editor. Testing your code in a simulator would be the most convenient, but such thing should either already be available, or should be made by yourself (in a high level language of course). Regards,
Bert Vingerhoets
vingerhoetsbert@hotmail.com
Don't worry what people think about you. They're too busy wondering what you think about them.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top