| ??? 08/20/08 21:17 Read: times |
#157602 - my way Responding to: ???'s previous message |
a SILabs/Keil example
//SF_XBR0 = (0 + SM_XBR0_CP0E + SM_XBR0_ECI0E + SM_XBR0_PCArte + SM_XBR0_UARTEN + SM_XBR0_SPI0EN + SM_XBR0_SMB0EN);
mov SF_XBR0,#(0 + SM_XBR0_UARTEN + SM_XBR0_SMB0EN);
there is no doubt which bits are (re)set now tell me that you can immediately spot what the name of the bits are in XBR0 = 11011001B and I'll be impressed Erik |
| Topic | Author | Date |
| Keil (Binary numbers) | 01/01/70 00:00 | |
| Not possible | 01/01/70 00:00 | |
| C does not allow it But... | 01/01/70 00:00 | |
| Binary in C | 01/01/70 00:00 | |
| Grouping works too | 01/01/70 00:00 | |
| my way | 01/01/70 00:00 | |
| All depending on needs | 01/01/70 00:00 | |
| To be precise | 01/01/70 00:00 | |
It is not an omission | 01/01/70 00:00 | |
| binconst.h | 01/01/70 00:00 |



