Memory Models Model Description Tiny Code and data combined must be less than 64K. Code <= 64K, data <= 64K. One code segment, Small one data segment. Data <= 64K, code any size. Multiple code Medium segments, one data segment. Code <= 64K, data any size. One code segment, Compact multiple data segments. Code >64K, data > 64K. Multiple code and data Large segments. Same as the Large model, except that individual Huge variables such as arrays may be larger than 64K. No segments. 32-bit addresses are used for both Flat code and data. Protected mode only.