|
|||||||||||
|
Technical Support Support Resources
Product Information |
C251: TARGETING AN 8051Information in this article applies to:
QUESTIONUsing the C251 compiler, is it possible to target an 8051 microcontroller? I was thinking of converting my C code to assembler using the SRC directive, then assembling it with the NO251 directive. Will this work? ANSWERNo, this won't work. You may use the A251 assembler along with the NO251 directive to generate code for an 8051, however, you must not use any of the features that are present in a 251 and are not present in an 8051. When you generate assembly code from C code using the compiler, it takes advantage of the 251 only features to generate the best code. Therefore, it is not possible to assemble the generated file for an 8051. MORE INFORMATION
FORUM THREADSThe following Discussion Forum threads may provide information related to this topic. Last Reviewed: Wednesday, January 25, 2017 | ||||||||||
|
|||||||||||
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.