Forums

keil compiler

Started by ishita July 11, 2006
Hi All!

I have two questions.
1. How to declare constants in code memory of the microcontroller using
keil cross compiler?
2. How  to generate a single "nop" using c language in keil cross
compiler?

Best regards,
Ishita

> I have two questions. > 1. How to declare constants in code memory of the microcontroller using > keil cross compiler? > 2. How to generate a single "nop" using c language in keil cross > compiler?
Which processor architecture are you using? http://www.FreeRTOS.org *Now for ARM Cortex-M3!*
In article <1152602403.313931.27500@s13g2000cwa.googlegroups.com>,
ishita <aparna247@gmail.com> writes
>Hi All! > >I have two questions. >1. How to declare constants in code memory of the microcontroller using >keil cross compiler? >2. How to generate a single "nop" using c language in keil cross >compiler?
RTFM If you have a copy of the compile you will also have the manuals. -- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ /\/\/ chris@phaedsys.org www.phaedsys.org \/\/\ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
In article <IPKsg.99902$wl.86974@text.news.blueyonder.co.uk>,
FreeRTOS.org Info <nospam@thanks.com> writes
>> I have two questions. >> 1. How to declare constants in code memory of the microcontroller using >> keil cross compiler? >> 2. How to generate a single "nop" using c language in keil cross >> compiler? > >Which processor architecture are you using?
That's irrelevant. I all four cases the answer is in the manuals which are part of the IDE.... -- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ /\/\/ chris@phaedsys.org www.phaedsys.org \/\/\ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Hi!
I am using Keil compiler.
I know these two questions are not related. But i am searching the
answer of the second question for long time. But i didn't get it.
I got the answer for the 1st question.
Thanks & Best regards,
Ishita


Chris Hills wrote:
> In article <1152602403.313931.27500@s13g2000cwa.googlegroups.com>, > ishita <aparna247@gmail.com> writes > >Hi All! > > > >I have two questions. > >1. How to declare constants in code memory of the microcontroller using > >keil cross compiler? > >2. How to generate a single "nop" using c language in keil cross > >compiler? > > RTFM > > If you have a copy of the compile you will also have the manuals. > > > > -- > \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ > \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ > /\/\/ chris@phaedsys.org www.phaedsys.org \/\/\ > \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
In article <1152901845.951730.196190@m73g2000cwd.googlegroups.com>,
ishita <aparna247@gmail.com> writes
>Hi! >I am using Keil compiler. >I know these two questions are not related. But i am searching the >answer of the second question for long time. But i didn't get it. >I got the answer for the 1st question. >Thanks & Best regards, >Ishita
This is what we are all complaining about.... It took me less than a minute to find it in the manual. It has a page to itself. So assuming the poster has the manuals it is not a problem. All legal users of the compiler have the printed manuals. It's actually worse than that. The answer is in the fully searchable electronic manuals that are part of the Keil IDE. So less than 5 minutes in the manuals should have the answer.
>Chris Hills wrote: >> In article <1152602403.313931.27500@s13g2000cwa.googlegroups.com>, >> ishita <aparna247@gmail.com> writes >> >Hi All! >> > >> >I have two questions. >> >1. How to declare constants in code memory of the microcontroller using >> >keil cross compiler? >> >2. How to generate a single "nop" using c language in keil cross >> >compiler? >> >> RTFM >> >> If you have a copy of the compile you will also have the manuals. >> >> >> >> -- >> \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ >> \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ >> /\/\/ chris@phaedsys.org www.phaedsys.org \/\/\ >> \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ >
-- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ /\/\/ chris@phaedsys.org www.phaedsys.org \/\/\ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/