8- 32 M68020 USER’S MANUAL MOTOROLA
8.2.10 Binary-Coded Decimal Operations
The binary-coded decimal operations table indicates the number of clock periods needed
for the processor to perform the specified operation using the given addressing modes,
with complete execution times given. No additional tables are needed to calculate total
effective execution time for these instructions. The total number of clock cycles is outside
the parentheses; the number of read, prefetch, and write cycles is given inside the
parentheses as (r/p/w). These cycles are included in the total clock cycle number.
Instruction Best Case Cache Case Worst Case
ABCD Dn,Dn 4(0/0/0) 4(0/0/0) 5(0/1/0)
ABCD –(An),–(An) 14(2/0/1) 16(2/0/1) 17(2/1/1)
SBCD Dn,Dn 4(0/0/0) 4(0/0/0) 5(0/1/0)
SBCD –(An),–(An) 14(2/0/1) 16(2/0/1) 17(2/1/1)
ADDX Dn,Dn 2(0/0/0) 2(0/0/0) 3(0/1/0)
ADDX –(An),–(An) 10(2/0/1) 12(2/0/1) 13(2/1/1)
SUBX Dn,Dn 2(0/0/0) 2(0/0/0) 3(0/1/0)
SUBX –(An),–(An) 10(2/0/1) 12(2/0/1) 13(2/1/1)
CMPM (An)+,(An)+ 8(2/0/0) 9(2/0/0) 10(2/1/0)
PACK Dn,Dn,#<data> 3(0/0/0) 6(0/0/0) 7(0/1/0)
PACK –(An),–(An),#<data> 11(1/0/1) 13(1/0/1) 13(1/1/1)
UNPK Dn,Dn,#<data> 5(0/0/0) 8(0/0/0) 9(0/1/0)
UNPK –(An),–(An),#<data> 11(1/0/1) 13(1/0/1) 13(1/1/1)