goto $+1 ************************************************* Roy Hopkins :-) Tauranga New Zealand ************************************************* ----- Original Message ----- From: "David Schmidt" To: Sent: Sunday, March 28, 2004 4:28 AM Subject: What is MPASM's version of Parallax's instruction jmp $+1 ? > I have some old code that I am converting from the days I was coding in > Parallax assembly to Microchip. > I have a delay loop that uses the instruction > > jmp $+1 > > that uses up only 1 memory location but give you a 2 cycle delay. > > What is the equivalent instruction in MPASM ? > > is it goto PCL+1 ? > > Thanks, > Dave > > -- > http://www.piclist.com hint: PICList Posts must start with ONE topic: > [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.637 / Virus Database: 408 - Release Date: 20/03/2004 -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads