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 but I have used it and I also know that
objdump tool can be used to disassemble C programs. However, I am not
sure how to cross-compile into MIPS.
I apologize if this question is too obvious.
Running Debian Testing.
Thanks for any help.
This package might help:
Package: gxemul
Priority: extra
Section: misc
Installed-Size: 2664
Maintainer: Jonathan Wiltshire <[EMAIL PROTECTED]>
Architecture: i386
Version: 0.4.6.5-2
Depends: libc6 (>= 2.7-1), libx11-6
Recommends: gxemul-doc
Filename: pool/main/g/gxemul/gxemul_0.4.6.5-2_i386.deb
Size: 730708
MD5sum: 0dd799d6dae0656ab390a909614a4385
SHA1: 3b051ced38060006df0b05f8e73ca4afa3d45ced
SHA256: efaf50cde6c82939bd4172ade39eaa447f163b49bf2cf327121f04f5c476fbaf
Description: machine emulator for multiple architectures
GXemul aims at emulating complete machines with enough hardware
emulated to run real unmodified operating systems. The emulation of
these machine types is good enough to run a least one guest operating
system:
.
ARM-based machines:
* CATS (NetBSD/cats, OpenBSD/cats)
* IQ80321 (NetBSD/evbarm)
* NetWinder (NetBSD/netwinder)
MIPS-based machines:
* DECstation 5000/200 (NetBSD/pmax, OpenBSD/pmax, Ultrix,
Linux/DECstation, Sprite)
* Acer Pica-61 (NetBSD/arc)
* NEC MobilePro 770, 780, 800, 880 (NetBSD/hpcmips)
* Malta (NetBSD/evbmips
* Algorithmics P5064 (NetBSD/algor)
* SGI O2 (aka IP32) (NetBSD/sgi) (enough for root-on-nfs)
PowerPC-based machines:
* IBM 6050/6070 (PReP, PowerPC Reference Platform) (NetBSD/prep)
SuperH-based machines:
* Sega Dreamcast (NetBSD/dreamcast) (enough for ramdisk userland)
.
Other machine types and architectures are emulated less completely.
See the documentation in the gxemul-doc package for the exact details
and guides to installing guest operating systems.
Homepage: http://gavare.se/gxemul/
Tag: hardware::emulation, role::program
--
Ron Johnson, Jr.
Jefferson LA USA
Help a man when he is in trouble and he will remember you when
he is in trouble again.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]