NDL and deco dives are fundamentally different because one type of dive demands mandatory stops and the other type doesn't. Our behavior is fundamentally different because those dives being fundamentally different demand that our behavior is different assuming we want to be safe from DCS.
As you mentioned in a previous post there is a gray area in which DCS is a possibility should a particular controlling tissue compartment's pressure venture inside it. Since human beings don't like fuzzy limits we depend on well-defined limits that can be depicted as a line through this gray area. Since it is a gray area our algorithms can determine the position of that line by the conservative settings (among other settings) we enter in our dive computers.
From the standpoint of the algorithm (ex. Buhlmann with GF's) all dives are identical in that a ceiling is always calculated. That ceiling becomes a limit to avoid either tissues developing dangerously high pressures or to remain an NDL dive. The calculation is the same but depending on the dive type (deco or NDL) the result is interpreted differently. The dive begins as a NDL dive. For NDL dives the ceiling is negative (above the water). At any particular depth a loop is started with time equal to 0. That time is incremented in 1 minute intervals and the ceiling is calculated until it becomes zero (at the surface). The accumulated time at that point becomes the NDL time remaining.
Should the diver run the NDL time down to zero, the dive becomes a deco dive and mandatory stops are required. In this case a calculation is done to determine the first stop (which has a positive ceiling, i.e. below the water) according to GFLo. It gets rounded up to the next deepest multiple of 10 ft or 3 m. The same kind of loop is run by incrementing time in one minute intervals and the ceiling is calculated. When the ceiling equals or is less than the next shallower deco stop according to the stop interval set or fixed in the computer, the accumulated time becomes the stop time at the current stop depth. When the diver has stayed for the required stop time she may ascend to the next shallower stop and the cycle starts over until the diver reaches the surface.