Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

I need help in writing program in assemply language

Status
Not open for further replies.

sortlaih

Member level 3
Joined
Jan 9, 2003
Messages
55
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
250
Hi ....

I want to write porgram in assmemply language to control a stepper motor by Pic

but I have no idea about that... any one can help me to do that ...
I want to control the speed +/- and the direction L/R also if any good comments
 

RegUser_2

Full Member level 2
Joined
Dec 24, 2001
Messages
125
Helped
11
Reputation
22
Reaction score
9
Trophy points
1,298
Activity points
1,507
Write it in c, then compile using -s option to get assembly code. Then U may want to play with the assembly to optimize it.
 

sortlaih

Member level 3
Joined
Jan 9, 2003
Messages
55
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
250
I need help in the commands it self because I can't Do that . So is it easy to help me in writing the program ...by telling me which commands shall I use for evry mation I need...
 

ME

Advanced Member level 4
Joined
Mar 14, 2002
Messages
1,309
Helped
55
Reputation
112
Reaction score
40
Trophy points
1,328
Activity points
14,861
Download Quintessential PIC Microcontroller.pdf here:
hxxp://www.mcu.cz/atm/index.php?&direction=0&order=&directory=eBook/Micro/PIC
It's a good book about assembly programming for PIC.
 

Fragrance

Advanced Member level 4
Joined
Jul 26, 2002
Messages
1,191
Helped
247
Reputation
494
Reaction score
198
Trophy points
1,343
Location
East Of Earth
Activity points
8,916
steper motor

hi,

please find steper motor hardware based on pic you can also simulate this hardware in proteus ,that can be found in mcufileman

regards
FRAGRANCE
 

Analyzer

Full Member level 6
Joined
Nov 18, 2001
Messages
374
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Activity points
3,518
You can find sample codes in microchip web site.You can find asm codes here.If you want to write it in c please refer example codes of ccs c compiler.If you can't find any useful data pm me.

Analyzer
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top