Top  Previous  Next


Instruct the compiler to generate initialize code without setting up the stacks.








The tiny11 for example is a powerful chip. It only does not have SRAM. BASCOM depends on SRAM for the hardware stack and software stack.

When you like to program in ASM you can use BASCOM with the $TINY directive.


Some BASCOM statements will also already work but the biggest part will not work.

A future version will support a subset of the BASCOM statements and function to be used with the chips without SRAM.


Note that the generated code is not yet optimized for the tiny parts. Some used ASM statements for example will not work because the chip does not support it.



See also










'name                     : tiny15.bas

'copyright                : (c) 1995-2016, MCS Electronics

'purpose                  : demonstrate using ATtiny15

'micro                    : Tiny15

'suited for demo          : yes

'commercial addon needed  : no



$regfile = "at15def.dat"                                   ' specify the used micro

$crystal = 1000000                                         ' used crystal frequency




Dim A As Iram Byte

Dim B As Iram Byte

A = 100 : B = 5

A = A + B