Question

I am trying to understand the keil startup assembly code because it initializes the minimal hardware to work with C language. I am stuck at this line:

 IF      PLL_SETUP <> 0

What is the meaning of the above line? Specifically, the <> symbol? Please somebody help me figure out this assembly instruction.

Was it helpful?

Solution

This line is not assembly per se but a control directive. <> means "not equal". So, if the preprocessor symbol PLL_SETUP is not 0, the following block (until ELSE or ENDIF) is passed to the assembler, otherwise it's skipped.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top