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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/11/04 17:16
Read: times


 
#70192 - RE: THANK YOU ALL
Responding to: ???'s previous message
Hi tamil,
I struggled a lot when writing Assembly for MCS-51 in Keil. I am fully aware of doing it in Avocet, Keil has many rules:

First try by using the following:
#pragma asm
asm codes
#pragma endasm

Be very particular about Case of letters: "ASM" is not the same as "asm".

I had done the follwoing:
In the "Option for Source Group1" -> "Properties" Tab:
the 2 check boxes, "Generate Assembler SRC File" and "Assemble SRC File" must be ON and not grey. These check boxes have 3 states: On(Black), Off (Blank) and default(Grey). Make it black (on).

After this compile your code, it must work.
I am using Keil Evaluation version, maybe you might find something similar in your Compiler IDE.

Happy programming,
Mr. Kiran V. Sutar.



List of 22 messages in thread
TopicAuthorDate
how to access DPTR using Ride c            01/01/70 00:00      
   RE: how to access DPTR using Ride c            01/01/70 00:00      
      DO NOT access DPTR using C !            01/01/70 00:00      
   RE: how to access DPTR using Ride c            01/01/70 00:00      
      RTFM!            01/01/70 00:00      
   RE: how to access DPTR using Ride c            01/01/70 00:00      
      RE: Hack!?            01/01/70 00:00      
         RE: Hack!?            01/01/70 00:00      
            RE: Hack!?            01/01/70 00:00      
               Just ignore me - Im talking rubbish!            01/01/70 00:00      
                  Hello ALL THANK YOU            01/01/70 00:00      
         RE: Hack!?            01/01/70 00:00      
            RE: Oops, many people - many suggestions            01/01/70 00:00      
            RE: Hack!?Oleg            01/01/70 00:00      
               RE: Hack!?Oleg            01/01/70 00:00      
                  RE: THE LESSON OF IT ALL!!!!!!!!            01/01/70 00:00      
                     RE: THE LESSON OF IT ALL!!!!!!!!            01/01/70 00:00      
                     RE: THE LESSON OF IT ALL!!!!!!!!            01/01/70 00:00      
                        RE: Atmel - Why??!!            01/01/70 00:00      
   THANK YOU ALL            01/01/70 00:00      
      RE: THANK YOU ALL            01/01/70 00:00      
         RE: THANK YOU ALL            01/01/70 00:00      

Back to Subject List