Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/14/01 14:56
Read: times


 
#16614 - RE: How do block bit moving in c51 ?
P4 is a non-standard feature, so I'll show you a P1 example (Keil)


in a .h file
sbit P1_5 = 0x95;
sbit ACC_0 = 0xE0;

the .c file
//mov P1.5 ,ACC.0
P1_5 = ACC_0;

It aint that complicated

Erik


List of 8 messages in thread
TopicAuthorDate
How do block bit moving in c51 ?            01/01/70 00:00      
RE: How do block bit moving in c51 ?            01/01/70 00:00      
RE: How do block bit moving in c51 ?            01/01/70 00:00      
RE: How do block bit moving in c51 ?            01/01/70 00:00      
RE: How do block bit moving in c51 ?            01/01/70 00:00      
RE: How do block bit moving in c51 ?            01/01/70 00:00      
RE: How do block bit moving in c51 ?            01/01/70 00:00      
RE: How do block bit moving in c51 ?            01/01/70 00:00      

Back to Subject List