[M3devel] Some big-endian info needed

Rodney M. Bates rodney.m.bates at cox.net
Tue Aug 18 03:57:54 CEST 2009


I need a favor.  I need some info from the following program,
compiled on a 32-bit big endian and a 64-bit big-endian machine.
Would someone who has such machines with working cm3 installed
please send it to me?

In particular, I need it compiled with -O0 -gstabs+, then the
output of:

objdump -dG BitNos.mo

Alternatively, if you don't have a working objdump, compiling
with cm3 -keep and sending me BitNos.ms would probably give me
what I need.

Thanks. 

Rodney Bates

--<snip>-----------------------------------------------------------

MODULE BitNos EXPORTS Main

; TYPE Packed = RECORD
    F0 : BITS 2  FOR [ 0 .. 3 ] := 3
  ; F1 : BITS 3  FOR [ 0 .. 7 ] := 7
  ; F2 : BITS 10 FOR [ 0 .. 1023 ] := 9
  ; F3 : BITS 17 FOR [ 0 .. 131071 ] := 11  
  ; F4 : BITS 4  FOR [ 0 .. 15 ] := 15
  ; F5 : BITS 5  FOR [ 0 .. 31 ] := 17  
  ; F6 : BITS 12 FOR [ 0 .. 4095] := 19
  ; F7 : BITS 11 FOR [ 0 .. 2047 ] := 21
  ; F8 : BITS 8  FOR [ 0 .. 255 ] := 23
  END

; PROCEDURE P ( )

  = VAR Local : Packed

  ; BEGIN
      EVAL Local . F3  
    END P  

; PROCEDURE Q ( )

  = BEGIN
    END Q  

; BEGIN
    P ( )
  ; Q ( )  
  END BitNos
.

--</snip>------------------------------------------------------------------- 




More information about the M3devel mailing list