??? 05/21/04 00:45 Read: times |
#70799 - RE: Programmable relationship between pi Responding to: ???'s previous message |
Charles Bannister said:
You need a visual aid to understand the logic. Not really: If he's writing in 'C', bitwise logical operators for AND, OR, XOR, and NOT are all part of the standard language; in assembly, there's ANL, ORL, XRL, and CPL instructions. He just needs to work out how to select the required operation - which could be just a switch in 'C', a jump-table in assembler, or a string of if..then..elseif in either language! |