The combination of the loads of the 2 appliances could not exceed 20 Amps because neither the disposal nor the dishwasher would be considered a continuous load. You could have a dishwasher and disposal on a single 20amp branch circuit and be code compliant.
Let's Get It Fixed!
Our virtual experts can diagnose your issue (for free!) and resolve simple problems.