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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/30/01 06:12
Read: times


 
#10409 - RE: Too many falg bits in the code
Hi Peter,

This a copy of one of code starting at the top:

=========================
MENU_FLAG BIT 40H ; FLAG TO INDICATE MENU OPTION BEING

CHANNEL_FLAG BIT 41H ; FLAG TO DISALLOW ANY OTHER FUNCTION

TUNE_FLAG BIT 42H ; FLAG TO INDICATE TUNING IN

TUNE_UD_FLAG BIT 43H ; TUNING DIRECTION IDENTIFIER FLAG.

BLANK_FLAG BIT 44H ; TO BLANK THE TENS DIGIT IF ZERO.

MUTE_FLAG BIT 45H ; TO TOGGLE MUTE ON EACH
TURBO_FLAG BIT 46H ; TUNING SPEED FLAG.

MANUAL_FLAG BIT 47H ; MANUAL FLAG
====================================

Only the fly I have to test the high low status of these flags to make decisions.

In other codes there are even larger number of bits defined as the flags.

Like in one software I have reserved 6 registers of bit addressable RAM for only flags to maintain the status of the bits.


Simon,




List of 15 messages in thread
TopicAuthorDate
Too many falg bits in the code            01/01/70 00:00      
RE: Too many flag bits in the code            01/01/70 00:00      
RE: Too many falg bits in the code            01/01/70 00:00      
RE: Too many falg bits in the code            01/01/70 00:00      
RE: Too many falg bits in the code            01/01/70 00:00      
RE: Too many falg bits in the code            01/01/70 00:00      
RE: Too many falg bits in the code            01/01/70 00:00      
RE: Too many falg bits in the code            01/01/70 00:00      
RE: Too many falg bits in the code            01/01/70 00:00      
RE: Too many falg bits in the code            01/01/70 00:00      
RE: Too many falg bits in the code            01/01/70 00:00      
RE: Too many falg bits in the code            01/01/70 00:00      
RE: Too many falg bits in the code            01/01/70 00:00      
RE: Too many falg bits in the code            01/01/70 00:00      
RE: Too many falg bits in the code            01/01/70 00:00      

Back to Subject List