Wikipedia and other resources describe different memory models available for compilers on the x86 platform (real mode).
I can see the difference between the tiny model and the small model (in tiny the code, stack and data segment register point to the same segment, in small CS points to one segment, SS and DS to another), and the difference between small and compact (CS, SS and DS point to three separate segments) but the difference between small and medium eludes me, as in both CS points to one segment and SS and DS to another.
I realise that the medium model is meant for programs that have more than one code segment but how is that difference realised? What exactly does it change?