Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Assembly language programming using PCSpim

Posted on 2003-11-16
2
Medium Priority
?
292 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 11

Accepted Solution

by:
bcladd earned 860 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
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…
Introduction to Processes

636 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