Continue to Site

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.

PICBasic Pro Question !?

Status
Not open for further replies.
Hi metal,

"GOTO $+1" is asm directive type instruction which mean jump to next instruction. As $ means current program counter of the Assembler (it is psuedo type used to track generation of object code in all most all assembler). Since it is for PICmicro, in this case, it will exactly generate 2 cycles delay.

Regards,
 

Hello micropar

Thanks for replying, that seems convincing, cause goto, and branch instructions consume two cycles :)

Any way, how is the 40 KHz is generated.

Thanks in advance
 

Simple:
1/25microseconds = 40khz
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top