CoolRISC 816 Datasheet

CoolRISC 816 8-bit Microprocessor Core, Hardware And Software Reference Manual

Stock & Ordering: Octopart | Findchips
CoolRISC 816
CoolRISC 816 8-bit Microprocessor Core, Hardware And Software Reference Manual
Databook Coolrisc 816 8-bit Microprocessor Core Hardware And Software Reference Manual
CoolRISC 816 8-bit Microprocessor Core
Hardware and Software Reference Manual
Version 4.5 April 2001
For further information, please contact XEMICS SA
Cool Solutions for Wireless Connectivity
XEMICS SA
CoolRISC 816 Reference Manual
Document History
Date 4 jul 2000 20 sep 2000
Version 4.1 4.2
20 nov 2000
23 mar 2001
05 apr 2001
Who AVx
AVx CEM
Changes
Completely New Version. Pp. 2-8 & 2.9: Modification Of Z Flag Corrected. Section 2.4: Jcc Examples
Corrected. P. 2-13: Cpl2 Operation Corrected. Many Small Corrections And Clarifications. Subtraction
operations corrected. SFLAG instruction modified.
Document Nr: R0105-078
2001 Xemics, v4.5
CoolRISC 816 Reference Manual
Notations
General Instruction Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . .xiii Operands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .xiii Operators . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xiii Sub
Fields And Qualifiers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . .xiv
Chapter 1 Architectural and Functional Overview
1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 1-1.2 Cr816 Architecture . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 1-2 1.3 Interface Signals
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
1.3.1 Clock Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1-5 1.3.2 Clock Frequency Control . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1-5 1.3.3 Exception Handling Signals . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1-5 1.3.4 Program Memory Interface . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1-6 1.3.5 Data Memory Or Peripheral Interface . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 1-6 1.3.6 Test Mode Control . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7 1.3.7 .scan Signals . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8 1.4 Pipeline . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1-9 1.5 Programmer's Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 1-12 1.5.1 Data Registers . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 1-13 1.5.2 Status Register . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-14 1.5.3 Program Counter And Stack
Registers . . . . . . . . . . . . . . . . . . . . . . . . . . 1-15 1.5.4 Flags . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-15 1.6 Data
Memory Addressing Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-16 1.6.1 Direct Addressing Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1-16 1.6.2 Indexed Addressing Mode With Immediate Offset . . . . . . . . . . . . . . . . . .
1-16 1.6.3 Indexed Addressing Mode With Register Offset . . . . . . . . . . . . . . . . . . . . 1-17
1.6.4 Indexed Addressing Mode With Post-incrementation Of The Index . . . . . . 1-17 1.6.5 Indexed
Addressing Mode with Pre-Decrementation of the Index . . . . . . 1-17
Chapter 2 Instruction Set
2.1 Instruction Set Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 2-2 Add - Addition Without Carry . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 2-3 Addc - Addition With Carry . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 2-4 And - Logical And . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5 Call - Jump To Subroutine . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6 Calls - Jump To
Subroutine, Ip As Return Address . . . . . . . . . . . . . . . . . . . . . 2-7 Cmp - Unsigned
Compare . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8 Cmpa
- Signed Compare . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-9 Cmvd - Conditional Move, If Carry Clear . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 2-10 Cmvs - Conditional Move, If Carry Set . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2-11 Cpl1 - One's Complementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . 2-12 Cpl2 - Two's Complementation . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . 2-13
2001 Xemics, v4.5
CoolRISC 816 Reference Manual