arder.a 860 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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 order
  10. segment ENTERCODE(CODE,28H)
  11. segment INITCODE(CODE,28H)
  12. (*ajout *)
  13. segment MW_VECT(CODE,68H)
  14. segment FIND_CODE(CODE,68H)
  15. (* fin *)
  16. segment C_ORDER(FCODE,28H);group G_order (C_ORDER);
  17. select C_ORDER;
  18. public order$Q_ORDEROBJ_Q:
  19. ret far 0
  20. segment _DATA(BSS,68H)
  21. segment EMU_STATE(DATA,68H)
  22. segment D_MATHLIB(DATA,68H)
  23. segment DATASTART(DUMMY,68H)
  24. segment _BSS(BSS,68H)
  25. segment D_ORDER(M_DATA,68H)
  26. segment STACK(STACK,68H)
  27. segment HEAP(HEAP,68H)
  28. end
  29.