$DEFAULT XRAM
Action
Compiler directive to place each dimensioned variable as XRAM.

Syntax
$DEFAULT XRAM

Remarks
When you are using many XRAM variables it make sense to set this option, so you don't have to type XRAM each time.
To dimension a variable to be stored into IRAM, specify IRAM in that case.

Example


$DEFAULT XRAM
Dim X As Integer 'will go to XRAM
Dim Z As IRAM Integer 'will be stored in IRAM