I'm trying to write sub func for nachOS but when I combines it doesn't work. Don't know the reason.
Details:
In ../userprog/syscall.h
Add :
#define SC_Sub 11
int Sub(int a, int b);
In ../test/
.globl Sub
.ent Sub
Sub:
addiu $2,$0,SC_Sub
syscall
j $31
.end Sub
After that I write a sub.c:
#include "syscall.h"
int main()
{
...
Hey guys I'm trying to set up a nachos project in Eclipse on my ubuntu machine. I meticulously followed the instructions here:
http://inst.eecs.berkeley.edu/~cs162/fa06/Nachos/eclipse/#nachosfs
It runs fine, but when I set a breakpoint and hit debug I get:
New_configuration [Java Application]
nachos.machine.Machine at localho...
I need to setup NACHOS java version in Linux and run some simple sample . How to setup and run simple sample ? [need some tutorials and some computer assignment with solution with NACHOS]
...