Solved

Assembly language programming using PCSpim

Posted on 2003-11-16
2
275 Views
Last Modified: 2008-02-26
I need to mplement a muxtex that uses a separate FIFO to transfer processes that are waiting to get into the critical section from the run queue. I need to write the code in assembly language using PCSpim.  I am not very familar using this language.  Can you Please help.
0
Comment
Question by:dmbfan4
2 Comments
 
LVL 11

Accepted Solution

by:
bcladd earned 430 total points
ID: 9760518
One assumes that you are using a good architecture or operating systems text book which describes the MIPS R2000 assembly language. If you're not I can suggest on (Hennesy and Patterson OR Patterson and Hennesy (they wrote two architecture books together, one undergraduate and one graduate; I like the graduate text better though it is not quite as nice for teaching assembly language). If so I urge you to read the book and look at the code you are going to fit your code into.

This is a homework assignment and it is EE policy that experts cannot write your homework for you and you cannot ask for that. I would be happy to answer specific questions (though my Hennesy and Patterson is 1000 miles away right now so I might struggle with specific syntax). It is obvious that this is a piece of a larger operating system; read and understand the code where your mutex must fit. Understand what Spim instructions are atomic and how a critical section is implemented.

Good luck, -bcl
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Adoquery sql  left join does not work 25 98
add projects t working set in maven 2 17
BATCH to EXE Converter 2 32
Programming Language for Wordpress 7 29
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question