BCPU16.TXT

Beschreibung zum CALM-Assembler fr CPU16 (M68HC16)

Gewhlte Adressierung
   Bei Sprungbefehlen (JUMP, CALL) wird immer die relative Adressierung
gewhlt. Die absolute Adressierung kann nur mit den entsprechenden
Adressenangaben (20^, U^ oder mit .PROCSET) erreicht werden.

Automatische Optimisierung des Befehlscodes
   Einige Codeoptimisierungen sind mglich. Der CALM-Assembler whlt
automatisch den kompaktesten Maschinencode, wenn der Wert bekannt und inner-
halb vorgegebener Grenzen liegt. Prfixe knnen dem CALM-Assembler helfen den
kompaktesten Maschinencode zu erzeugen (siehe auch Beispiele in TCPU16.ASM).

Bemerkungen
   Fr eine CALM-Schreibweise existieren einige, funktionell 100%
identische Befehlscodes. Der CALM-Assembler whlt einen davon. Die anderen
knnen nicht erzeugt werden.
   Mglichkeiten von .PROCSET: DEFREL, DEFABS, CPU16, EMUL11 (siehe
TCPU16.ASM).
   Liste aller Befehle: assemblieren Sie TCPU16.ASM mit ASCALM TCPU16/L und
drucken Sie die Datei TCPU16.LST aus.

Unterschiede zum Herstellerassembler
   Die unterschiedlichen Bezeichnungen der Operationscodes sind in der CALM-
Befehlsliste und der Datei CCPU16.TXT angegeben.





Description du CPU16 (M68HC16) pour l'assembleur CALM

Adressage choisi
   Pour les instructions de sauts (JUMP, CALL), l'adressage relatif est
toujours choisi. L'adressage absolu ne peut tre gnrer qu'avec les
indicateurs d'adresses (20^, U^ ou par .PROCSET).

Optimisation automatique du code machine
   Quelques optimisations sont possibles. L'assembleur CALM choisit auto-
matiquement le code le plus compact si la valeur est connue et se trouve 
l'intrieur des limites donnes. Des prfixes peuvent aider  l'assembleur de
gnrer le code le plus compact (voir aussi les exemples dans TCPU16.ASM).

Remarques
   Pour quelques codes machine, fonctionnellement 100% identiques, il n'y a
qu'une notation CALM. L'assembleur CALM choisit un code. On ne peut pas
gnrer les autres.
   Possibilits de .PROCSET: DEFREL, DEFABS, CPU16, EMUL11 (voir TCPU16.ASM).
   Liste de toutes les instructions: assemblez le fichier TCPU16.ASM avec
ASCALM TCPU16/L et imprimez le fichier TCPU16.LST.

Diffrences par rapport  l'assembleur du fabricant
   Les diffrents noms des codes opratoires sont indiqus dans la carte de
rfrence CALM et le fichier CCPU16.TXT.


CALM assembler description for the CPU16 (M68HC16)

Chosen addressing mode
   The CALM assembler chooses always the relative addressing mode for the
jump instructions (JUMP, CALL). The absolute addressing mode must be forced
by the corresponding address specifiers (20^, U^ or with .PROCSET).

Automatic optimisation of the instruction codes
   Some code optimisations are possible. The CALM assembler chooses auto-
matically the most compact machine code when the value is known and is within
the given limits. Prefixes may help the CALM assembler to generate the most
compact machine code (please refer to the examples in TCPU16.ASM).

Remarks
   In some cases, there exist one CALM notation for some, functionally 100%
identical instruction codes. The CALM assembler chooses one of them. There is
no way to generate the others.
   Possibilities of .PROCSET: DEFREL, DEFABS, CPU16, EMUL11 (refer to
TCPU16.ASM).
   List of all instructions: assemble the file TCPU16.ASM with ASCALM
TCPU16/L and print the file TCPU16.LST.

Differences to the producer assembler
   The different notations of the operation codes are given in the CALM
reference card and the file CCPU16.TXT.
