| ??? 06/24/00 14:13 Read: times |
#3398 - Testing a Bit variable |
Hi all,
First, thanks to Mr Steiner for this valuable site. I assembled my own evaluation board and connected LCD, keypad, serial port. Sofware RTC has been handy as well. My eval board is now turning into a lawn watering controller. Thanks for all the tutorials and posts (I watch daily!) as they are very useful and educational! THANK YOU!!! I have a simple question: how do I test a bit variable? Here is a code example: ENABLE .EQU 00 ;declaring ENABLE bit SETB ENABLE ;Let's set ENABLE MOV A,ENABLE The last line loads memory location 00 while I'm interested in memory location 20H, bit 0. Bit location 00 directly without having to manipulate mem 20h and isolate bit 0? Don't laugh!!! I know this is simple!!! Thanks in advance for your help! Daniel, 25H years old! |
| Topic | Author | Date |
| Testing a Bit variable | 01/01/70 00:00 | |
| RE: Testing a Bit variable | 01/01/70 00:00 | |
| RE: Testing a Bit variable | 01/01/70 00:00 | |
RE: Testing a Bit variable | 01/01/70 00:00 |



