Searching \ for '[PIC]:\how to know what is the PIC MIPS?' in subject line. ()
Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devices.htm?key=pic
Search entire site for: '\how to know what is the PIC MIPS?'.

Exact match. Not showing close matches.
'[PIC]:\how to know what is the PIC MIPS?'
2001\03\22@204104 by

Hi, All PicListers!

I just wonder. how to calculate the MIPS of a pic?

Let said, I have a 16F84 runs at 10MHz, then what is the pic maximum
instructions can execute in one second (MIPS)???

Thank you.

--
http://www.piclist.com hint: To leave the PICList
piclist-unsubscribe-requestmitvma.mit.edu

Microchip PIC = Clock MHz divided by 4

Ubicom SX = Clock Mhz divided by a little more than 1

---
jamesnewtonpiclist.com 1-619-652-0593
PIC/PICList FAQ: http://www.piclist.com or .org

{Original Message removed}
>
> Hi, All PicListers!
>
> I just wonder. how to calculate the MIPS of a pic?

In general for PIC 16 and 17 series chips the MIPS rate is one quarter the
clock rate.

>
> Let said, I have a 16F84 runs at 10MHz, then what is the pic maximum
> instructions can execute in one second (MIPS)???

2.5 million per second. Note that some instructions take two slots to
execute. So the actual instruction rate is less than that.

BAJ

--
http://www.piclist.com hint: To leave the PICList
piclist-unsubscribe-requestmitvma.mit.edu

Hi,
At 10MHz, you are doing 10 million clock cycles per second.
Each instruction takes four clock cycles (except for those that don't)
so your absolute maximum is 2.5MIPS.  You will never actually
achieve this as you cannot execute 2.5 million instructions without
some branch instructions, and these take 2 cycles.  So the answer
is:
Between 1.25 and 2.5 Mips, depending on the number of branches.
1.25 Mips for every instruction as a branch.  2.5 Mips for no
branches.

Martin

{Quote hidden}

--