Searching \ for '[SX]:DJNZ cycles (sx28/sx52)' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/ubicom/devices.htm?key=sx52
Search entire site for: 'DJNZ cycles (sx28/sx52)'.

Exact match. Not showing close matches.
PICList Thread
'[SX]:DJNZ cycles (sx28/sx52)'
2003\01\02@173357 by sebcath

flavicon
face
Hello,

I would like to know in the SX28 and 52 how much cycle uses
the djnz instruction.
I looked on the SX Instruction set table :
      http://www.sxlist.com/techref/ubicom/inst.htm

and it marked this :

  Instruction        cycles
  DJNZ fr,addr       2 *

but I does not understand what "2*" means.
I think that in reality DJNZ uses 5 cycles on a jump and if not 4.

could somebody give me the values exact ?
I cannot make real test, all that I does is theoretical.
and I would need some to write small a procedure of temporization.

thinks,

Best regards,
Sebastien

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads

2003\01\02@184658 by pearl62

picon face
DJNZ is a macro for the instructions,

DECSZ fr
JMP addr

So, 2 (1 for DEC, 1 for SKIP) or 4 (1 for DEC, 3 for JMP) cycles .

Cheers,
Stephen
{Original Message removed}

More... (looser matching)
- Last day of these posts
- In 2003 , 2004 only
- Today
- New search...