[Tinyos-contrib-commits] CVS: tinyos-1.x/contrib/ustutt/ncunit/java/avrora/sim BaseInterpreter.java, NONE, 1.1

Andreas Lachenmann lachenmann at users.sourceforge.net
Tue Feb 20 04:33:10 PST 2007


Update of /cvsroot/tinyos/tinyos-1.x/contrib/ustutt/ncunit/java/avrora/sim
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv4808/contrib/ustutt/ncunit/java/avrora/sim

Added Files:
	BaseInterpreter.java 
Log Message:
added files to repository

--- NEW FILE: BaseInterpreter.java ---
/**
 * Copyright (c) 2004-2005, Regents of the University of California
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 *
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 *
 * Neither the name of the University of California, Los Angeles nor the
 * names of its contributors may be used to endorse or promote products
 * derived from this software without specific prior written permission.
 *
[...1337 lines suppressed...]
                    S = value;
                    break;
                case SREG_V:
                    V = value;
                    break;
                case SREG_N:
                    N = value;
                    break;
                case SREG_Z:
                    Z = value;
                    break;
                case SREG_C:
                    C = value;
                    break;
                default:
                    throw Avrora.failure("bit out of range: " + num);
            }
        }
    }
}



More information about the Tinyos-contrib-commits mailing list