• Sharing #defines and EQU statements
    Does anyone know if there is a way to make a #define in 'C' visible to A51 code (or visa-versa)? I know how to make a header file in Hi-Tech C51 that will let 'C' and 'A51 definitions coexist, but can...
  • ISEG AT {location defined as EQU}
    I would like to have the following code, so I can maintain it easier using EQUs: {in an include file} STACKLENGTH EQU 50 {startup.a51} ISEG AT #(256 - STACKLENGTH) DS STACKLENGTH This way...
  • Coding standards: EQU vs DS
    (1) Is there a coding standard for 8051 assembler regarding use of: foo equ 80h ; some idata and foo: ds 1 ? (2) What is your opinion?
  • no #message directive.
    C166 has #message directive but ARMCC doesnt have #message or #pragma message. only #warning & #error . is there any alternate way to display messages?. like i want to display message for what...
  • Preprocessor directives
    Hello together, I'm coding a simple UART-Application on the MCBSTM32 eval board and have problems with the preprocessor directives. I studied the whole documentation here and I'm pretty sure I'm...