Hi What is the code used to say port2 = port2 anded with 0x7f This will clear all bits of port 2 but bit 7? I thought it was P2 &= 0x7f this doesnt work, so i tried P2 = (P2 && x7f) This also didnt work. Anyone know what it is?
bible time here are the links to "the bible" Chapter 1 http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_ARCH_1.pdf chapter 2 http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_PROG_GUIDE_1.pdf chapter 3 http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_HARDWARE_1.pdf Erik
Thanks Is there more chapters? Alex
yes, but they are irrelevant (datasheets for 1993 vintage chips) Erik
View all questions in Keil forum