Re: [OT] Learning MIPS ISA using GCC and Debian

2008-10-20 Thread owens
> > > > Original Message >From: [EMAIL PROTECTED] >To: debian-user@lists.debian.org >Subject: Re: [OT] Learning MIPS ISA using GCC and Debian >Date: Sun, 19 Oct 2008 18:19:59 -0700 > >>On Sun, 19 Oct 2008 20:55:03 -0400 >>Jerry Stuckle <[EMAIL PRO

Re: [OT] Learning MIPS ISA using GCC and Debian

2008-10-19 Thread Amit Uttamchandani
On Sun, 19 Oct 2008 20:08:09 -0500 Ron Johnson <[EMAIL PROTECTED]> wrote: > On 10/19/08 19:39, Amit Uttamchandani wrote: > > I am learning the MIPS ISA in class and I guess the best way to learn > > this is using real world examples. Thus, I was hoping I could write a > > program in C and compile

Re: [OT] Learning MIPS ISA using GCC and Debian

2008-10-19 Thread Amit Uttamchandani
On Sun, 19 Oct 2008 20:55:03 -0400 Jerry Stuckle <[EMAIL PROTECTED]> wrote: > I would say that is one of the worst ways to learn MIPS. A good > compiler will have numerous optimizations, and the resultant code may > bear little resemblance to the original C. Even if you disable all > optimiza

Re: [OT] Learning MIPS ISA using GCC and Debian

2008-10-19 Thread Ron Johnson
On 10/19/08 19:39, Amit Uttamchandani wrote: I am learning the MIPS ISA in class and I guess the best way to learn this is using real world examples. Thus, I was hoping I could write a program in C and compile it into MIPS assembly and learn the MIPS ISA that way. I am not too familiar with gcc

Re: [OT] Learning MIPS ISA using GCC and Debian

2008-10-19 Thread Jerry Stuckle
I would say that is one of the worst ways to learn MIPS. A good compiler will have numerous optimizations, and the resultant code may bear little resemblance to the original C. Even if you disable all optimizations, programming style will differ between that generated by the C compiler and wh

[OT] Learning MIPS ISA using GCC and Debian

2008-10-19 Thread Amit Uttamchandani
I am learning the MIPS ISA in class and I guess the best way to learn this is using real world examples. Thus, I was hoping I could write a program in C and compile it into MIPS assembly and learn the MIPS ISA that way. I am not too familiar with gcc but I have used it and I also know that objdum