If you haven't done much programming in the past, you will probably still remember Learning Truth tables in mathematics, wondering why you would ever need to know such a thing. Well, question answered. Logical operations are a fundamental part of digital electronics. The 6502 is no exception. Before breaking into Mathematics, we will first learn logical operations.