3.5.9 Short-Format Instructions
The ADD, CMP, and MOV instructions have special short formats. Table 3-17 lists these short
formats together with the equivalent general formats.
The short formats are a byte shorter than the corresponding general formats, and most of them
execute one state faster.
Table 3-17 Short-Format Instructions and Equivalent General Formats
Short-Format
Instruction
ADD:Q #xx,Rd
*
1
CMP:E #xx:8,Rd
CMP:I #xx:16,Rd
MOV:E #xx:8,Rd
MOV:I #xx:16,Rd
MOV:L @aa:8,Rd
MOV:S Rs,@aa:8
MOV:F @(d:8,R6),Rd
MOV:F Rs,@(d:8,R6)
Notes:
*
1 The ADD:Q instruction accepts other destination operands in addition to a general
register, but the immediate data value (#xx) is limited to ±1 or ±2.
*
2 Number of execution states for access to on-chip memory.
Execution Equivalent General-
States
*
2
Format Instruction
2
ADD:G #xx:8,Rd
2
CMP:G.B #xx:8,Rd
3
CMP:G.W #xx:16,Rd
2
MOV:G.B #xx:8,Rd
3
MOV:G.W #xx:16,Rd
5
MOV:G @aa:8,Rd
5
MOV:G Rs,@aa:8
5
MOV:G @(d:8,R6),Rd
5
MOV:G Rs,@(d:8,R6)
Execution
States
*
2
3
3
4
3
4
5
5
5
5
Length
2
2
3
2
3
2
2
2
2
Length
3
3
4
3
4
3
3
3
3
3.6 Operating Modes
The CPU operates in one of two modes: the minimum mode or the maximum mode.
These modes are selected by the mode pins (MD
2
to MD
0
).
3.6.1 Minimum Mode
The minimum mode supports a maximum address space of 64 kbytes. The page registers are
ignored. Instructions that branch across page boundaries (PJMP, PJSR, PRTS, PRTD) are invalid.
62