Crossware

Table of Contents        Previous topic       Next topic       

CROSS ASSEMBLER->Assembler Source Code Format->Opcode Extensions

Many of the M68020 executable instructions may take a size extension (.B, .W and .L) as follows:

.Bbyte size
.Wword size
.Llong word size

If a size extension is required and none is given, then .W is assumed by default.

Many of the 68881 instructions may also take an extension specifying the operand data format.  These are:
    
.Bbyte integer format
.Wword integer format
.Llong word integer format
.Ssingle precision real data format
.Ddouble precision real data format
.Xextended precision real data format
.Ppacked BCD real data format

There is no specific default strategy for these format extensions.

The pseudo-ops DC and DS may also carry these 68881 format extensions.  (.W is the default extension).

M68020 branch instructions default to word branch length and may take a .S extension to force a short branch or a .L extension to force a long branch.  M68881 branch instructions also default to word branch length and make take a .L extension to force a long branch.

All of these extensions may be either upper or lower case and must be appended to the instruction mnemonic with no intermediate spaces.