$NOTRANSFORM

Aus MCS Wiki AVR
Wechseln zu: Navigation, Suche

Action

This option controls transformation of unsupported ASM mnemonics.

 

 

Syntax

$NOTRANSFORM ON|OFF

 

 

Remarks

By default, assembler mnemonics that are not supported for a chip or register are transformed into different assembler mnemonics.

The IN and OUT instructions for example only work on hardware registers with an address lower then 64. Most PORT registers are located in this lower address space, but there are many chips that have more ports which are located in extended memory. For such chips, using a IN or OUT on an extended address would result in a failure.

Thus the compiler changes IN into an LDS and an OUT into an STS. When a register is required, R23 will be used.

 

When you develop some ASM code, you might want to get an error when you are using an instruction the wrong way. For this purpose you can turn off the transformation.

$NOTRANSFORM OFFwill turn off the transformation. And with $NOTRANFORM ON you can turn it back on.

You should only use this option on your own code. When you use it on your whole program, it will not compile since the bascom libraries which use CBI, SBI, SBIS, IN, OUT, etc. will use the transformation.

 

 

See also

NONE

 

 

Example

NONE



Languages   English Deutsch  
Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
In anderen Sprachen
Sprache
Datenbankfehler – MCS Wiki AVR

Datenbankfehler

Wechseln zu: Navigation, Suche
Es ist ein Datenbankfehler aufgetreten. Der Grund kann ein Programmierfehler sein. Die letzte Datenbankabfrage lautete:
(Die SQL-Datenbankabfrage ist verborgen.)
aus der Funktion „“. Die Datenbank meldete den Fehler „1020: Record has changed since last read in table 'avr_page' (localhost)“.
Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
In anderen Sprachen
Sprache