The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: King_Lacho on April 15, 2007, 07:41:25 AM

Title: MIPS instruction encoding
Post by: King_Lacho on April 15, 2007, 07:41:25 AM
I haven't been to this forum for a very long time, but it's because I'm always busy with college homework.

Currently, I'm working on a project of a MIPS assembler, which I have to write in MIPS Assembly language. The doubt I have is that I'm not sure about which is the format of some instructions (e.g. DIV or MULT), which receive only 2 arguments, instead of 3 (as do the ones I've already coded). Could anybody please help me by letting me know if they are in Register, Immediate, or Jump Encoding Format?

and if so, then in what order should the registers be encoded?

:eek :eek :eek
Title: Re: MIPS instruction encoding
Post by: hutch-- on April 15, 2007, 08:11:46 PM
Hi King Lacho,

Good to hear from you again. You may be lucky if one of the members knows something about MIPS assembler but it may be worth you posting a question in the Usenet group Alt Lang Asm but beware, its usually a circus.
Title: Re: MIPS instruction encoding
Post by: King_Lacho on April 16, 2007, 01:27:24 AM
Thanks there! I guess you'll be hearing more from me now that I finally understand assemblers...  :bdg

I guess that, just in case, I'd better start Google-ing that out....  :toothy
Title: Re: MIPS instruction encoding
Post by: EduardoS on April 17, 2007, 12:15:44 AM
Have you tryed http://www.mips.com ? You must register to download manuals.
At work I have a good mips manual, will post here again if i find an online reference.
Title: Re: MIPS instruction encoding
Post by: King_Lacho on April 18, 2007, 12:02:38 AM
Thanks!  :bdg