??? 11/22/05 10:53 Read: times |
#103977 - you can't Responding to: ???'s previous message |
You can not send just 4 bits at once to a port. What you can do is read the value (or have it stored) from the port and make sure that bit 5-7 are not changed when you send the full 8 bit with the MOV command. You can do this with a mask (read bible). A more simple but less elegant way is to set and reset the bits one by one with the SETB and CLR commands. |
Topic | Author | Date |
8051 MOV command | 01/01/70 00:00 | |
you can't![]() | 01/01/70 00:00 |