Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Some PIC questions - again

Status
Not open for further replies.
I'm not an expert in reading asm-files and instructions to PICs, so I need some help to some PIC-functions:

1) The internal timers (Timer0 og Timer1)

How do I define them?
Where does the output go to?
How can I use that output?

2) In a asm-code I find this
goto $-1
What's that

need the help

Electronics4you
 
Electronics4you said:
I'm not an expert in reading asm-files and instructions to PICs, so I need some help to some PIC-functions:

1) The internal timers (Timer0 og Timer1)

How do I define them?
Where does the output go to?
How can I use that output?

2) In a asm-code I find this
goto $-1
What's that

need the help

Electronics4you
goto $-1 means goto one instruction back.
regarding timers , these are enabled by proper bit setting in option register , go thru the datasheet to find detailed info.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top