I've done it with C77 as master and 74A as slave in the production version, but have run the master code on the 74A as a testbed when we ran out 77s back in the spring, and couldn't source any (remember that fiasco ? Nobody could get a 77 to save their grandmother's life for about 6 weeks back in March/April sometime). Anyway, the code is in production, so it works. The gotcha is that it's for C (Hi-Tech flavour). The upside is that, except for the actual bit bashing that shoves the 1's & 0's out the door, the rest is pretty much 1-for-1 mappable to assembly code. Except for the bank switching, too, of course 8^) If you are still interested, even though its in C, let me know. Ken ---------------------------------------------- Kenneth C. Finney ============================================== Wilkes Associates, Inc. Software Engineering - Embedded Systems Design & Development - Project Management ============================================== 170 The Donway West Ste. 405, Toronto, Ontario Office: (416) 445-9224 Mobile: (416) 453-6400 ---------------------------------------------- > -----Original Message----- > From: pic microcontroller discussion list > [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Jess LaFentres > Sent: Thursday, August 05, 1999 9:59 AM > To: PICLIST@MITVMA.MIT.EDU > Subject: I2C > > > I am using a PIC 16C74A @ 4Mhz in my design. I am > attempting to use the > I2C module in the master mode. I am addressing a 24C01C device for > non-Volatile memory. I am looking for some assembly code to > do this with. > The things I have found at Microchips are either too > encrypted to follow > or are for processors which are to different from the PIC I > am using. If > anyone could help I would greatly appreciate it > > Jess LaFentres > Electro/Mech. Eng. > Global Surgical Corp. > 3610 Tree Court Ind. Blvd. > St. Louis MO 63122-6622 > (314)861-5286 Phone > (314)225-2036 Fax > jlafentr@globalsurgical.com >