Ignore:
Timestamp:
Aug 16, 2003, 6:59:22 PM (22 years ago)
Author:
bird
Message:

binutils v2.14 - offical sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/binutils/opcodes/tic30-dis.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    11/* Disassembly routines for TMS320C30 architecture
    2    Copyright 1998, 1999, 2000 Free Software Foundation, Inc.
     2   Copyright 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
    33   Contributed by Steven Haworth (steve@pm.cse.rmit.edu.au)
    44
     
    664664{
    665665  unsigned long exp, sign, mant;
     666  union {
     667    unsigned long l;
     668    float f;
     669  } val;
    666670
    667671  if (size == 2)
     
    706710    sign = mant = exp = 0;
    707711  tmsfloat = sign | exp | mant;
    708   *ieeefloat = *((float *) &tmsfloat);
     712  val.l = tmsfloat;
     713  *ieeefloat = val.f;
    709714  return 1;
    710715}
Note: See TracChangeset for help on using the changeset viewer.