or.a 714 B

1234567891011121314151617181920212223242526272829303132333435
  1. (* Copyright (C) 1987 Jensen & Partners International *)
  2. (* This module can be used to change the ordering of segments and
  3. classes. This version causes the program entry point to be at
  4. zero which is useful for GEM.
  5. To use it, use the batch command:
  6. m2 /l order+prog,prog
  7. where prog is the name of your program.
  8. *)
  9. module or
  10. segment ENTERCODE(CODE,28H)
  11. segment INITCODE(CODE,28H)
  12. segment MW_VECT(FCODE,68H)
  13. segment FIND_CODE(FCODE,68H)
  14. segment C_OR(FCODE,68H)
  15. public OR$Q_ORDEROBJ_Q:
  16. ret far 0
  17. segment _DATA(BSS,68H)
  18. segment DATASTART(DUMMY,68H)
  19. segment _BSS(BSS,68H)
  20. segment D_OR(M_DATA,68H)
  21. segment STACK(STACK,68H)
  22. segment HEAP(HEAP,68H)
  23. end
  24.