Solved

Assembly language programming using PCSpim

Posted on 2003-11-16
2
279 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ASP/VB email question 4 58
BATCH to EXE Converter 2 67
WordPress: Debugging from my Windows 10 Desktop 6 61
print bytes of an integer 6 21
This is an explanation of a simple data model to help parse a JSON feed
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

679 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