
CS5954AM
ADVANCE
INFORMATION
Document #: 38-08025 Rev. **
Page 28 of 44
8.0
CS5954AM CPU Programming Guide
This is the specification for the CS5954AM Processor Instruction set.
8.1
Instruction Set Overview
This document describes the CS5954AM CPU Instruction Set, Registers and Addressing modes, Instruction format, etc. The
CS5954AM PROCESSOR uses a unified program and data memory space; although this RAM is also integrated into the
CS5954AM core, provision has been made for external memory as well.
The CS5954AM PROCESSOR engine incorporates 38 registers: fifteen general-purpose registers, a stack pointer, sixteen
registers mapped into RAM, a program counter, and a REGBANK register whose function will be described in a subsequent
section.
The CS5954AM PROCESSOR engine supports byte and word addressing. Subsequent sections of this document will describe:
• The CS5954AM PROCESSOR Engine (QT Engine) Register Set
• CS5954AM PROCESSOR Engine Instruction Format
• CS5954AM PROCESSOR Engine Addressing Modes
• CS5954AM PROCESSOR Engine Instruction Set.
8.2
Reset Vector
On receiving hardware reset, the CS5954AM Processor jumps to address 0xFFF0, which is an internal ROM address.
8.3
Register Set
The CS5954AM Processor incorporates 16-bit general-purpose registers called R0..R15, a REGBANK register, and a program
counter, along with various other registers. The function of each register is defined as follows.
85
GPIO10
I/O
GPIO10
86
GPIO9
I/O
GPIO9
87
VDD1
Power
USB +3.3 VDC Supply.
88
DPLUS
I/O
USB Differential DATA Signal High Side.
89
DMINUS
I/O
USB Differential DATA Signal Low Side.
90
GND1
GND
USB Digital Ground.
91
GPIO8
I/O
GPIO8
92
GPIO7
I/O
GPIO7
93
GPIO6
I/O
GPIO6
94
GPIO5
I/O
GPIO5
95
GPIO4
I/O
GPIO4
96
GPIO3
I/O
GPIO3
97
GPIO2
I/O
GPIO2
98
GPIO1
I/O
GPIO1
99
GPIO0
I/O
GPIO0
100
VDD
Power
+3.3 VDC Supply.
Name
Function
R0-R14
General-purpose Registers
R15
Stack Pointer
PC
Program Counter
REGBANK
Forms base address for registers R0-R15
FLAGS
Contains flags: defined below
INTERRUPT ENABLE
Bit masks to enable/disable various interrupts
Table 7-1. Pin Assignment and Description (continued)
Pin No. Pin Name
Pin Type
Description