Content originally posted in LPCWare by starblue on Wed Apr 02 01:10:57 MST 2014
The numbers you quote are for pin groups, not GPIO ports, so these are pins, not bits.
Pins are described in UM10503 Chapter 15 "Pin configuration" and configured via the SCU (see Chapter 16). Each pin may have up to 8 digital functions and possibly also an analog one. One of the possible function of many pins is GPIO (but not always the default one). The relation between pin groups and GPIO ports is somewhat irregular.
For using the GPIO function see Chapter 18. There are 8 ports GPIO0 to GPIO7. Ports 5 to 7 may have your desired 24 bits, depending on the chip package.