
Figure 1. The LM324 op-amp internal circuit.
Note that when the output is driven high that the Darlington transistor pair, Q5 and Q6 must turn on. Since the base-emitter junctions of Q5 and Q6 each drop about 0.7 V when on it stands to reason that the most we could expect out of this circuit is V+ - 1.4 V. Since Q5's base current comes from the 100 µA current source we must allow for the voltage drop of that too.
When swinging negative Q13 provides a path to ground. Since its base must be pulled low by Q12 to turn on we have a similar, although slightly improved, version of the problem.
You should be able to simulate each of the cases for the top and bottom drive circuits and see what the minimum and maximum output voltages are in each case. Then compare these with the datasheet.
Note that the voltage range will degrade as the load Iout increases (mA) .