Changeset 185 for trunk/thune/eval.c

Show
Ignore:
Timestamp:
06/14/06 04:48:20 (3 years ago)
Author:
krobillard
Message:

Thune - ur_tokenize() now handles negative numbers. Added ur_intToStr().

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/thune/eval.c

    r184 r185  
    21952195    } 
    21962196} 
     2197 
     2198 
     2199#if 0 
     2200#define TICKS(x)    __asm__ volatile (".byte 0x0f, 0x31" : "=A" (x)) 
     2201 
     2202// ( -- str) 
     2203UR_CALL( uc_ticks ) 
     2204{ 
     2205    uint64_t ticks; 
     2206    UR_CALL_UNUSED_TOS 
     2207 
     2208    UR_S_GROW; 
     2209    ur_initType(UR_TOS, UT_INT64); 
     2210 
     2211    TICKS(ticks); 
     2212    ur_int64(UR_TOS) = ticks;  
     2213} 
     2214#endif 
    21972215 
    21982216