Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

need basic assembly codes for mcu 89c51!!

Status
Not open for further replies.

rohaan

Newbie level 1
Joined
May 2, 2008
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,294
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
 

Altafhal

Member level 2
Joined
Feb 13, 2007
Messages
42
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Location
Pakistan
Activity points
1,573
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.
 

H_D_R

Full Member level 6
Joined
Jan 31, 2008
Messages
329
Helped
26
Reputation
52
Reaction score
9
Trophy points
18
Location
India
Activity points
0
rohaan said:
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..

-->> https://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...!!:D
 

leoren_tm

Advanced Member level 1
Joined
Dec 19, 2005
Messages
466
Helped
11
Reputation
22
Reaction score
7
Trophy points
1,298
Activity points
4,305
rohaan said:
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
 

ckshivaram

Advanced Member level 5
Joined
Apr 21, 2008
Messages
5,070
Helped
2,149
Reputation
4,304
Reaction score
2,089
Trophy points
1,393
Location
villingen (Germany) / Bangalore
Activity points
30,086
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.
 

leoren_tm

Advanced Member level 1
Joined
Dec 19, 2005
Messages
466
Helped
11
Reputation
22
Reaction score
7
Trophy points
1,298
Activity points
4,305
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.
 

Abdul Manan

Member level 2
Joined
Nov 10, 2007
Messages
43
Helped
4
Reputation
8
Reaction score
1
Trophy points
1,288
Activity points
1,549
try book by mazidi

Added after 54 seconds:

it reaaly a great book for a newbie
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top