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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/06/06 14:07
Read: times


 
#106703 - using relocatable segment
Responding to: ???'s previous message
OK thank you for information.

Now i've another question:

Why does KEIL give me a warning by the following source code:

;---------------------------------------------------
NAME SEGMENT DATA
PROG SEGMENT CODE

RSEG NAME

dummy: DS 3


RSEG PROG

mov dummy,#1111111111111111b

end
;-----------------------------------------------------

I always thought that "DS 3" means i "reserve" 3 Bytes for the variable "Dummy". but Keil warns me again.(truncated.....)But this number is only 16 bits long an the variable "dummy" 24 bits.

TIA

MAX





List of 16 messages in thread
TopicAuthorDate
16 bit to 8 bit            01/01/70 00:00      
   the only 16 bit register in th1 '51 is t            01/01/70 00:00      
      using relocatable segment            01/01/70 00:00      
         it is not Keil, it is the processor            01/01/70 00:00      
            SMS            01/01/70 00:00      
               TIA            01/01/70 00:00      
                  Hope This Helps            01/01/70 00:00      
                     RTFM (please read)            01/01/70 00:00      
                        That may be what you mean but            01/01/70 00:00      
               well, I did not            01/01/70 00:00      
                  Didn't know            01/01/70 00:00      
                     that I do            01/01/70 00:00      
                        Just goes to prove my point            01/01/70 00:00      
                           Is that an excuse for not trying to make            01/01/70 00:00      
                              Its a hint            01/01/70 00:00      
                              Hope That Helps            01/01/70 00:00      

Back to Subject List