[Tinyos-contrib-commits] CVS: tinyos-1.x/contrib/wustl/apps/Agilla/opcodes OPrjump5M.nc, 1.3.2.1, 1.3.2.2

Chien-Liang Fok chien-liang at users.sourceforge.net
Wed Dec 20 03:10:46 PST 2006


Update of /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/Agilla/opcodes
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv32463

Modified Files:
      Tag: GroupComm
	OPrjump5M.nc 
Log Message:
fixed a bug bit extending 16

Index: OPrjump5M.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/Agilla/opcodes/OPrjump5M.nc,v
retrieving revision 1.3.2.1
retrieving revision 1.3.2.2
diff -C2 -d -r1.3.2.1 -r1.3.2.2
*** OPrjump5M.nc	15 Nov 2006 04:29:34 -0000	1.3.2.1
--- OPrjump5M.nc	20 Dec 2006 11:10:42 -0000	1.3.2.2
***************
*** 128,132 ****
     */
    uint32_t bitExtend(uint8_t arg) {
!     if ((arg >> 4) & 0x01)
        return arg | 0xffffffe0;
      else
--- 128,132 ----
     */
    uint32_t bitExtend(uint8_t arg) {
!     if (((arg >> 4) & 0x01) && (arg & 0x7 != 0))
        return arg | 0xffffffe0;
      else



More information about the Tinyos-contrib-commits mailing list