1. 10
  1.  

  2. 2

    And @pjmlp on HN also suggests checking out the linker source from Turbo Pascal and the Oberon linker.