Add Using Halfword Addressing Mode
ADDAH
3-53
Instruction Set
SPRU733
Example 1
ADDAH .D1
A4,A2,A4
Before instruction
1 cycle after instruction
A2 0000 000Bh
A2 0000 000Bh
A4 0000 0100h
A4 0000 0106h
AMR 0002 0001h
AMR 0002 0001h
BK0 = 2
→
size = 8
A4 in circular addressing mode using BK0
Example 2
ADDAH .D1X B14,42h,A4
Before instruction
1 cycle after instruction
B14
0020 1000h
A4
0020 1084h
Example 3
ADDAH .D2
B14,7FFFh,B4
Before instruction
1 cycle after instruction
B14
0010 0000h
B4
0010 FFFEh