cws.txt 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. Compiler Writer's Guide
  2. -----------------------
  3. Here are a few tips for changing things in the compiler:
  4. - Assigned should be used instead of checking for nil directly, as
  5. it can help solving pointer problems when in real mode.
  6. - All compiler files should be saved in UNIX format
  7. Location of the codegenerator functions
  8. ---------------------------------------
  9. The names are given for the i386, for the m68k rename the 386 to 68k
  10. cg386con - Constant generation
  11. - secondordconst
  12. - secondrealconst
  13. - secondstringconst
  14. - secondfixconst
  15. - secondsetconst
  16. - secondniln
  17. cg386mat - Mathematic functions
  18. - secondmoddiv
  19. - secondshlshr
  20. - secondumminus
  21. - secondnot
  22. cg386cnv - Type conversion functions
  23. - secondtypeconv
  24. cg386add - Add/concat functions
  25. - secondadd
  26. cg386mem - Memory functions
  27. - secondvecn
  28. - secondaddr
  29. - seconddoubleaddr
  30. - secondsimplenewdispose
  31. - secondhnewn
  32. - secondhdisposen
  33. - secondselfn
  34. - secondwith
  35. - secondloadvmt
  36. - secondsubscriptn
  37. - secondderef
  38. - secondis
  39. - secondas
  40. cg386flw - Flow functions
  41. - secondifn
  42. - second_while_repeatn
  43. - secondfor
  44. - secondcontinuen
  45. - secondbreakn
  46. - secondexitn
  47. - secondlabel
  48. - secondgoto
  49. - secondtryfinally
  50. - secondtryexcept
  51. - secondraise
  52. - secondfail
  53. cg386ld - Load/Store functions
  54. - secondload
  55. - secondassignment
  56. - secondfuncret
  57. cg386set - Set functions
  58. - secondcase
  59. - secondin
  60. cg386cal - Call/inline functions
  61. - secondparacall
  62. - secondcall
  63. - secondprocinline
  64. - secondinline
  65. cgi386 - Main secondpass handling
  66. - secondnothing
  67. - seconderror
  68. - secondasm,
  69. - secondblockn,
  70. - secondstatement,