$SIM/de

From MCS Wiki AVR
< $SIM
Revision as of 22:54, 19 February 2013 by Stefanhamburg (Talk | contribs)
Jump to: navigation, search

Contents

Funktion

Weist den Compiler an, für WAIT und WAITMS leere (wirkungslose) Warteschleifen zu generieren. Dadurch wird eine schnellere Simulation möglich.

 

 

Syntax

$SIM

 

 

Remarks

Simulation of a WAIT statement can take a long time especially when memory view windows are opened.

The $SIM compiler directive instructs the compiler to not generate code for WAITMS and WAIT. This will of course allows faster simulation.

 

When your application is ready you must remark the $SIM directive or otherwise the WAIT and WAITMS statements will not work as expected.

When you forget to remove the $SIM option and you try to program a chip you will receive a warning that $SIM was used.

 

 

Siehe auch

NONE

 

 

ASM

NONE

 

 

Example


$regfile = "m48def.dat"
$crystal = 4000000
$baud = 19200
Config Com1 = Dummy , Synchrone = 0 , Parity = None , Stopbits = 1 , Databits = 8 , Clockpol = 0
 
$sim
Do
Wait 1
Print "Hello"
Loop

Languages   English Deutsch  
Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language
Database error - MCS Wiki AVR

Database error

Revision as of 22:54, 19 February 2013 by Stefanhamburg (Talk | contribs)
Jump to: navigation, search
A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:
(SQL query hidden)
from within function "". Database returned error "1020: Record has changed since last read in table 'avr_page' (localhost)".
Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language