• Using macros with variables declared on #define
    Any ideas why it's impossible to compile that simple code? #define AB_VALUES 2,3 #define Add(a,b) a+b void main(void) { int c; c = Add (AB_VALUES); }
  • 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...
  • ARM9 defined(_WIN32) if statement help
    I am working on SMTP using mbedTLS-2.16.1 to create a secure email protocol. I downloaded the mbedTLS-2.16.1 package from: tls.mbed.org/.../mbedtls-2.16.1-and-2.7.10-released Now I am trying to...
  • IF statement
    hi i want to use IF statement in assembly, like this if (p3.0 true) { } else { } or like this BEGIN: IF R0 = #45 { } ELSE { } ENDIF jmp begin so how can i use it, for...
  • If statements
    Hi, Currently doing a project for college and have come to a road block. I have function which has a if statement. There are five different possible outcomes for the if statement. The outcome depends...