Contents
xiii
MISC
Stack Control .................................................................................. 15–86
Mode Control ................................................................................. 15–89
Modify Address Register .............................................................. 15–91
NOP
.................................................................................... 15–92
Interrupt Enable/Disable ............................................................. 15–93
MULTIFUNCTION
ALU/MAC/SHIFT Operation with Memory Read .................... 15–94
ALU/MAC/SHIFT Operation with Register to Register Move . 15–98
ALU/MAC/SHIFT Operation with Memory Write ................. 15–101
Data & Program Memory Read ................................................. 15–105
ALU/MAC Operation with Data & Program Memory Read ... 15–106
APPENDIX A
INSTRUCTION CODING
A.1
OPCODES ....................................................................................... A–1
A.2
ABBREVIATION CODING ............................................................. A–7
APPENDIX B
DIVISION EXCEPTIONS
B.1
DIVISION FUNDAMENTALS ........................................................ B–1
B.1.1
Signed Division ............................................................................ B–1
B.1.2
Unsigned Division ....................................................................... B–2
B.1.3
Output Formats ............................................................................ B–2
B.1.4
Integer Division ........................................................................... B–3
B.2
ERROR CONDITIONS ..................................................................... B–3
B.2.1
Negative Divisor Error................................................................ B–3
B.2.2
Unsigned Division Error............................................................. B–4
B.3
SOFTWARE SOLUTION .................................................................. B–4
APPENDIX C
NUMERIC FORMATS
C.1
OVERVIEW ....................................................................................... C–1
C.2
UNSIGNED OR SIGNED: TWOS-COMPLEMENT FORMAT .. C–1
C.3
INTEGER OR FRACTIONAL ......................................................... C–1
C.4
BINARY MULTIPLICATION ......................................................... C–3
C.4.1
Fractional Mode And Integer Mode ........................................ C–4
C.5
BLOCK FLOATING-POINT FORMAT ......................................... C–5