
SL11R
Document #: 38-08006 Rev. **
Page 57 of 85
7.0
SL11R CPU Programming Guide
This is the preliminary specification for the SL11R Processor Instruction set.
7.1
Instruction Set Overview
This document describes the SL11R CPU Instruction Set, Registers and Addressing modes, Instruction format, etc. The SL11R
PROCESSOR uses a unified program and data memory space; although this RAM is also integrated into the SL11R core,
provision has been made for external memory as well.
The SL11R 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 SL11R PROCESSOR engine supports byte and word addressing. Subsequent sections of this document will describe:
• The SL11R PROCESSOR Engine (QT Engine) Register Set
• SL11R PROCESSOR Engine Instruction Format
• SL11R PROCESSOR Engine Addressing Modes
• SL11R PROCESSOR Engine Instruction Set
7.2
Reset Vector
On receiving hardware reset, the SL11R Processor jumps to address 0xFFF0, which is an internal ROM
address.
7.3
Register Set
The SL11R 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:
7.4
General-Purpose Registers
The general-purpose registers can be used to store intermediate results, and to pass parameters to and return them from
subroutine calls.
DI
91
GPIO8
Bidir
Serial EPROM Data Input
SD7
92
GPIO7
Input
SDATA port bit 7, or GPIO7
SD6
93
GPIO6
Input
SDATA port bit 6, or GPIO6
SD5
94
GPIO5
Input
SDATA port bit 5, or GPIO5
SD4
95
GPIO4
Input
SDATA port bit 4, or GPIO4
SD3
96
GPIO3
Input
SDATA port bit 3, or GPIO3
SD2
97
GPIO2
Input
SDATA port bit 2, or GPIO2
SD1
98
GPIO1
Input
SDATA port bit 1, or GPIO1
SD0
99
GPIO0
Input
SDATA port bit 0, or GPIO0
VDD
100
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
DVC 8-Bit DMA Mode Pin Assignment and Description (continued)
Pin Name
Pin No.
GPIO pins
Pin Type
GPIO & DVC 8-bit DMA modes Pin Chip Revision 1.1