$NOINIT

Top  Previous  Next

Action

Instruct the compiler that no initialization must be performed.

 

 

Syntax

$NOINIT

 

 

Remarks

BASCOM initializes the processor depending on the used statements.

When you want to handle this by yourself you can specify this with the compiler directive $NOINIT.

The only initialization that is always done is the setting of the stack pointer and the initialization of the LCD display (if LCD statements are used).

 

When you have selected the Altair as a monitor in the Monitor options, the following code will be generated:

Mov IE,#255

Mov scon,#82

This because the Altair monitor needs this code despite of the $NOINIT. When you do not want that, you have to select HEX Monitor for example.

 

 

See also

$NOSP , $NORAMCLEAR

 

 

Example

$NONIT

$NORAMCLEAR

'your program goes here

End