hello.s 767 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. .file 1 "hello.c"
  2. # GNU C 2.7.2.3 [AL 1.1, MM 40, tma 0.1] SimpleScalar running sstrix compiled by GNU C
  3. # Cc1 defaults:
  4. # -mgas -mgpOPT
  5. # Cc1 arguments (-G value = 8, Cpu = default, ISA = 1):
  6. # -quiet -dumpbase -o
  7. gcc2_compiled.:
  8. __gnu_compiled_c:
  9. .sdata
  10. .align 3
  11. $LC0:
  12. .word 0x00000000 # 2
  13. .word 0x40000000
  14. .text
  15. .align 2
  16. .globl main
  17. .text
  18. .loc 1 2
  19. .ent main
  20. main:
  21. .frame $fp,40,$31 # vars= 16, regs= 2/0, args= 16, extra= 0
  22. .mask 0xc0000000,-4
  23. .fmask 0x00000000,0
  24. subu $sp,$sp,40
  25. sw $31,36($sp)
  26. sw $fp,32($sp)
  27. move $fp,$sp
  28. jal __main
  29. li $2,0x00000001 # 1
  30. sw $2,16($fp)
  31. l.d $f0,$LC0
  32. s.d $f0,24($fp)
  33. move $2,$0
  34. j $L1
  35. $L1:
  36. move $sp,$fp # sp not trusted here
  37. lw $31,36($sp)
  38. lw $fp,32($sp)
  39. addu $sp,$sp,40
  40. j $31
  41. .end main