Rules | Recent posts | topic RSS | Search | Register  | Log in

need basic assembly codes for mcu 89c51!!

 
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers
Author Message
rohaan



Joined: 02 May 2008
Posts: 1


Post02 May 2008 12:59   need basic assembly codes for mcu 89c51!!

hey,
i need assemblly langague code for mcu 89c51, for following task although they are v easy but i m noob in it!
1. to make assemlby code in mcu so that drive dc motor.
2. to connect led to the port 2 so that all 8 led's glow one by one.
3.to make counter via mcu port 2.
how to make the code for this..?

if any one of u know so please help me out:!:
or any site where i find the assembly codes for mcu:?:.

Thanks,
Rohaan
Back to top
Navid T



Joined: 21 Jan 2005
Posts: 130
Helped: 1
Location: Iran


Post03 May 2008 9:00   Re: need basic assembly codes for mcu 89c51!!

Hi
I think you can find something in " www.8052.com "
Back to top
Altafhal



Joined: 13 Feb 2007
Posts: 54
Helped: 1
Location: Pakistan


Post04 May 2008 3:38   need basic assembly codes for mcu 89c51!!

HI
These are very easy, and try to write these codes yourself if you want to learn assembly programming. If in your code you have any problems then i will help you. But at start please try yourself.
Back to top
H_D_R



Joined: 31 Jan 2008
Posts: 361
Helped: 17
Location: India


Post06 May 2008 5:45   Re: need basic assembly codes for mcu 89c51!!

rohaan wrote:
hey,
i need assemblly langague code for mcu 89c51, for following task although they are v easy but i m noob in it!
1. to make assemlby code in mcu so that drive dc motor.
2. to connect led to the port 2 so that all 8 led's glow one by one.
3.to make counter via mcu port 2.
how to make the code for this..?

if any one of u know so please help me out:!:
or any site where i find the assembly codes for mcu:?:.

Thanks,
Rohaan


as newbie the best way to search tutorials on net and read it and follow the experiments.

please follow the link and take look on some of listed sites from there..

-->> http://www.google.co.in/search?source=ig&hl=en&rlz=1G1GGLQ_ENIN274&q=8051+tutorials&meta=

there are some well known sites also.i am writing some of them here.
like 8052.com, 8052projects.net, 8051project.info etc..

all the best...!!Very Happy
Back to top
leoren_tm



Joined: 19 Dec 2005
Posts: 568
Helped: 18
Location: phillipines


Post10 May 2008 14:40   Re: need basic assembly codes for mcu 89c51!!

rohaan wrote:
hey,
i need assemblly langague code for mcu 89c51, for following task although they are v easy but i m noob in it!
1. to make assemlby code in mcu so that drive dc motor.
2. to connect led to the port 2 so that all 8 led's glow one by one.
3.to make counter via mcu port 2.
how to make the code for this..?

if any one of u know so please help me out:!:
or any site where i find the assembly codes for mcu:?:.

Thanks,
Rohaan


hi...try reading the book 8051 application, there is an example about driving the motor using PWM, and also, read the book mazidi, it is available in the EDA books.
and im sure your learn the assembly as you go solve your problem.
then you could ask a direct question, about the code you work.where willing to help:D
Back to top
ckshivaram



Joined: 21 Apr 2008
Posts: 316
Helped: 22
Location: korea


Post12 May 2008 18:42   Re: need basic assembly codes for mcu 89c51!!

I dont understand weather, you are testing everyone or you really want it. If someone gives you the code then what will you learn. Always try writing the code yourself, in case you find problem then approach anyone. everyone here will help you. but writing and giving you code does not make sense at all. you can search the internet for anything.
Back to top
leoren_tm



Joined: 19 Dec 2005
Posts: 568
Helped: 18
Location: phillipines


Post12 May 2008 23:36   Re: need basic assembly codes for mcu 89c51!!

uhmmm...thats a normal reaction...because he is thinking that his problem is difficult...thats was my reaction also, when i started to learn 8051....he just need a advice were to start.

Last edited by leoren_tm on 13 May 2008 23:12; edited 1 time in total
Back to top
Abdul Manan



Joined: 10 Nov 2007
Posts: 63
Helped: 6


Post13 May 2008 18:04   need basic assembly codes for mcu 89c51!!

try book by mazidi

Added after 54 seconds:

it reaaly a great book for a newbie
Back to top
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers
Page 1 of 1 All times are GMT + 2 Hours


Abuse
Administrator
Moderators
topic RSS 
sitemap