| ??? 05/25/07 10:19 Read: times Msg Score: +1 +1 Good Answer/Helpful |
#139817 - Or use Acc Responding to: ???'s previous message |
Instead of reserving a byte of bit-addressable memory you can alos use the Accumulator or the B register. They are bit-addressable too and usually available.
mov a,some_byte setb acc.5 mov some_byte,a |
| Topic | Author | Date |
| Byte used as bit | 01/01/70 00:00 | |
| which compiler? | 01/01/70 00:00 | |
| Silabs IDE | 01/01/70 00:00 | |
| and was this inline assembler in C-program? | 01/01/70 00:00 | |
| No, not an assembler in C | 01/01/70 00:00 | |
| SILabs IDE is NOT a compiler | 01/01/70 00:00 | |
| I was just referring to the IDE used. | 01/01/70 00:00 | |
| Terminology | 01/01/70 00:00 | |
| Assuming The Keil C Compiler | 01/01/70 00:00 | |
| No, that's wrong | 01/01/70 00:00 | |
| So much for the manual | 01/01/70 00:00 | |
| Yes, that's it! | 01/01/70 00:00 | |
| assembler | 01/01/70 00:00 | |
| assembling not compiling | 01/01/70 00:00 | |
| MISC_FLAGS EQU 20h | 01/01/70 00:00 | |
| re:MISC_FLAGS EQU 20h | 01/01/70 00:00 | |
| Bytes as bits | 01/01/70 00:00 | |
| stop expreimenting, read the manual | 01/01/70 00:00 | |
Or use Acc | 01/01/70 00:00 | |
| Accurate terminology | 01/01/70 00:00 | |
| C51.exe | 01/01/70 00:00 | |
| No and definitely not | 01/01/70 00:00 | |
| Check Byte Address | 01/01/70 00:00 | |
| i do not recall | 01/01/70 00:00 |



