Searching \ for '[PIC] (s)spim compatible with microchip pic32 ?' 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/microchip/ios.htm?key=spi
Search entire site for: '(s)spim compatible with microchip pic32 ?'.

Exact match. Not showing close matches.
PICList Thread
'[PIC] (s)spim compatible with microchip pic32 ?'
2008\11\11@115027 by Peter

picon face
Is spim compatible with pic32 assembly at the encoding level ?

thanks,
Peter

2008\11\11@133518 by M. Adam Davis

face picon face
SPIM is a MIPS32 processor architecture.

PIC32 is based on a MIPS M4K core.

According to www.mips.com/products/processors/hard-ip-cores/m4k-hard-ip-cores/
:
"The MIPS32(R) M4K(R) Hard IP Cores are
technology-specificimplementations of the synthesizable 32-bit MIPS32
M4K core."

Therefore the PIC32 is a MIPS32 processor, and thus uses the same
machine instruction set (ie, instruction coding) as the MIPS32
processor.

But it should be relatively easy to determine - make an assembly
program that uses most of the instructions and compile it with PIC32
and with another available MIPS assembler and compare the output.

-Adam

On Tue, Nov 11, 2008 at 11:49 AM, Peter <spam_OUTplpeter2006TakeThisOuTspamyahoo.com> wrote:
> Is spim compatible with pic32 assembly at the encoding level ?
>
> thanks,
> Peter
>
> -

2008\11\11@224301 by Xiaofan Chen

face picon face
On Wed, Nov 12, 2008 at 12:49 AM, Peter <.....plpeter2006KILLspamspam@spam@yahoo.com> wrote:
> Is spim compatible with pic32 assembly at the encoding level ?

I believe it is not compatible with PIC32. It is for the old MIPS R2000
instruction sets. PIC32MX is using the newer M4k core.

Xiaofan

2008\11\12@055841 by Peter

picon face
M. Adam Davis <stienman <at> gmail.com> writes:
> But it should be relatively easy to determine - make an assembly
> program that uses most of the instructions and compile it with PIC32
> and with another available MIPS assembler and compare the output.

This is not necessarily a compatible test but I will try it. spim implements a
number of strange peripherals and a fpu among other things. I think that there
will be "some" differences. I intend to use spim for quick code prototyping
eventually.

Peter


2008\11\23@064942 by Xiaofan Chen
face picon face
On Wed, Nov 12, 2008 at 11:43 AM, Xiaofan Chen <xiaofancspamKILLspamgmail.com> wrote:
> On Wed, Nov 12, 2008 at 12:49 AM, Peter <.....plpeter2006KILLspamspam.....yahoo.com> wrote:
>> Is spim compatible with pic32 assembly at the encoding level ?
>
> I believe it is not compatible with PIC32. It is for the old MIPS R2000
> instruction sets. PIC32MX is using the newer M4k core.
>

My bad. I checked the new spim and it seems to support MIPS32 now.
http://pages.cs.wisc.edu/~larus/spim.html

Still PIC32MX supports MIPS16e instruction set. And it is not
mentioned in SPIM website.

Xiaofan

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