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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/25/08 11:06
Read: times


 
#155085 - different
Responding to: ???'s previous message
I tried with other macro and it is working just fine. I found this is because i try to read from a look up table


cseg at 300h
coco:    db       0f0h,05h,01h,01h,017h,01eh,0fah

;if in macro i do

mov dptr,coco
movc a,@a+dptr

;it doesn't work, but if i put all this in a single file it works


I have watched in .lst file, if i don't put this block of code data
inside of main file, i won't be able to use
I read the documentation and I tried to define relocatable segments in all modules but it doesn't seems to work.I will do it in the same file, but it makes me crazy because i don't understand why doesn't work. Thanks for help anyhow

List of 27 messages in thread
TopicAuthorDate
Multifile macro            01/01/70 00:00      
   which assembler? show example.            01/01/70 00:00      
      example            01/01/70 00:00      
         Standard technique...            01/01/70 00:00      
         Which assembler, version and author ?            01/01/70 00:00      
   it doesn't work            01/01/70 00:00      
      i forgot the error            01/01/70 00:00      
         Not an assembler error            01/01/70 00:00      
      i think i miss something            01/01/70 00:00      
      long filename            01/01/70 00:00      
   define macro in .h file            01/01/70 00:00      
      That would depend            01/01/70 00:00      
   different            01/01/70 00:00      
      External Labels            01/01/70 00:00      
         i thought of it            01/01/70 00:00      
            show the one that works ans the one that do not            01/01/70 00:00      
   without extrn&public            01/01/70 00:00      
      strange assembler/linker            01/01/70 00:00      
      MISTAKEN            01/01/70 00:00      
         bellow            01/01/70 00:00      
         yes, for those that do not understand            01/01/70 00:00      
   IDE            01/01/70 00:00      
      anyone know this one?            01/01/70 00:00      
         Something doesn't stack up here...            01/01/70 00:00      
            Honesty            01/01/70 00:00      
      Suspiciously like Keil A51            01/01/70 00:00      
         so does Raisonance            01/01/70 00:00      

Back to Subject List