Table 3-2. M68Hc11 To Cpu12 Instruction Translation - Motorola M68EVB912B32 User Manual

Table of Contents

Advertisement

OPERATION
The assembly/disassembly process may be terminated by entering a period (.) as the first non-
space character following the assembler prompt.
restrictions:
None.

Table 3-2. M68HC11 to CPU12 Instruction Translation

M68HC11 Mnemonic
CLC
CLI
CLV
SEC
SEI
SEV
ABX
ABY
DES
example:
>ASM 800
0800 CC1000
0803 1803123401FE
0809 0EF9800001F1
080F 18FF
0811 183FE3
>
assembly operand format:
This section describes the operand format used by the assembler when assembling CPU12
instructions. The operand format accepted by the assembler is described separately in the CPU12
Reference Manual. Rather than describe the numeric format accepted for each instruction, some
general rules are used. Exceptions and complicated operand formats are described separately.
In general, anywhere the assembler expects a numeric value in the operand field, either a decimal
or hexadecimal value may be entered. Decimal numbers are entered as signed constants having a
range of -32768 to 65535. A leading minus sign (-) indicates negative numbers, the absence of a
leading minus sign indicates a positive number.
3-12
CPU12 Instruction
M68HC11 Mnemonic
ANCC # $FE
ANCC # $EF
ANCC # $FD
ORCC # $01
ORCC # $10
ORCC # $02
LEAX B, X
LEAY B, Y
LEAS -1, S
LDD
#$1000
MOVW
#$1234,$01FE
BRSET
-32768,PC,$01,$0700
TRAP
$FF
ETBL
<Illegal Addr Mode>
CPU12 Instruction
INS
TAP
TPA
TSX
TSY
XGDX
XGDY
SEX R
, R
8
16
A leading plus sign (+) is not allowed.
LEAS 1, S
TFR A, CC
TFR CC, A
TFR S, X
TFR S, Y
EXG D, X
EXG D, Y
TFR R
, R
8
16
>.
68EVB912B32UM/D

Advertisement

Table of Contents
loading

Table of Contents