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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/28/05 06:17
Read: times


 
#106068 - Re:
Responding to: ???'s previous message
Shaharyar Ali Anis said:
im using x51 assembler and L51 linker
it doesnt have ne library and predefing bits like

TF2 BIT 0CFH
T2IP BIT 0CEH
T2IE BIT 0CDH

doesnt work. cause it doesnt understand the BIT directive
but defining it like
TF2 equ 0cfh
works but with errors
like it says
*****REGISTER IS NOT BIT ADDRESSABLE********
and for RCAP2H,RCAP2L and others it says
*****NON-EXSISTENT INTERNAL RAM ADDRESS********


try defining bit addresses like this:

BIT2    EQU     20H.2
BIT3    EQU     20H.5
BIT4    EQU     2FH.0


The best option is to start using a documented assembler like Metalink which is free.




List of 23 messages in thread
TopicAuthorDate
Assmbler help            01/01/70 00:00      
   ?            01/01/70 00:00      
   Re: Assembler help            01/01/70 00:00      
      usually not            01/01/70 00:00      
   just caught the above            01/01/70 00:00      
   Any 8052 assembly compiler            01/01/70 00:00      
      assembly compiler there is no such thin            01/01/70 00:00      
      MetaLink among others            01/01/70 00:00      
         MetaLink among others            01/01/70 00:00      
            Excellent documentation            01/01/70 00:00      
      The Include files            01/01/70 00:00      
         Im using x51 L51            01/01/70 00:00      
            when using an oddball (not that that is            01/01/70 00:00      
            ????            01/01/70 00:00      
               ur brand name            01/01/70 00:00      
                  2500 A.D Software - dead by now?            01/01/70 00:00      
                  Old Compiler            01/01/70 00:00      
                  if you do not have the manual, that seem            01/01/70 00:00      
                     The old days            01/01/70 00:00      
                        OT: Floppies            01/01/70 00:00      
            Re:            01/01/70 00:00      
   definitions for 2500 A.D Software            01/01/70 00:00      
   Thankyou All            01/01/70 00:00      

Back to Subject List