Datenblatt-Suchmaschine für elektronische Bauteile
  German  ▼
ALLDATASHEETDE.COM

X  

SX28AC/DP Datenblatt(PDF) 17 Page - Parallax Inc

Teilenummer SX28AC/DP
Bauteilbeschribung  Configurable Communications Controllers with EE/Flash Program Memory, In-System Programming Capability and On-Chip Debug
PDF  51 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Hersteller  PARALLAX [Parallax Inc]
Direct Link  https://www.parallax.com/
Logo PARALLAX - Parallax Inc

SX28AC/DP Datenblatt(HTML) 17 Page - Parallax Inc

Back Button SX28AC/DP Datasheet HTML 13Page - Parallax Inc SX28AC/DP Datasheet HTML 14Page - Parallax Inc SX28AC/DP Datasheet HTML 15Page - Parallax Inc SX28AC/DP Datasheet HTML 16Page - Parallax Inc SX28AC/DP Datasheet HTML 17Page - Parallax Inc SX28AC/DP Datasheet HTML 18Page - Parallax Inc SX28AC/DP Datasheet HTML 19Page - Parallax Inc SX28AC/DP Datasheet HTML 20Page - Parallax Inc SX28AC/DP Datasheet HTML 21Page - Parallax Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 17 / 51 page
background image
Parallax SX20AC/SX28AC
www.parallax.com
© Parallax Inc.
Page 17 of 51
Rev 1.6 11/20/2006
6.0
MEMORY ORGANIZATION
6.1.
Program Memory
The program memory is organized as 2K, 12-bit wide
words. The program memory words are addressed
sequentially by a binary program counter. The program
counter starts at zero. If there is no branch operation, it
will increment to the maximum value possible for the
device and roll over and begin again.
Internally, the program memory has a semi-transparent
page structure. A page is composed of 512 contiguous
program memory words. The lower nine bits of the
program counter are zeros at the first address of a page
and ones at the last address of a page. This page structure
has no effect on the program counter. The program
counter will freely increment through the page
boundaries.
6.1.1. Program Counter
The program counter contains the 11-bit address of the
instruction to be executed. The lower eight bits of the
program counter are contained in the PC register (02h)
while the upper bits come from the upper three bits of the
STATUS register (PA0, PA1, PA2). This is necessary to
cause jumps and subroutine calls across program memory
page boundaries. Prior to the execution of a branch
operation, the user program must initialize the upper bits
of the STATUS register to cause subsequent branch
instructions to vector to the desired page. An alternative
method is to use the PAGE instruction, which
automatically causes subsequent branch instructions to
branch vector to the desired page, based on the value
specified in the operand field. Upon reset, the program
counter is initialized with 07FFh.
6.1.2. Subroutine Stack
The subroutine stack consists of eight 11-bit save
registers. A physical transfer of register contents from the
program counter to the stack or vice versa, and within the
stack, occurs on all operations affecting the stack,
primarily calls and returns. The stack is physically and
logically separate from data RAM. The program cannot
read or write the stack.
6.2.
Data Memory
The data memory consists of 136 bytes of RAM,
organized as eight banks of 16 registers plus eight
registers which are not banked. Both banked and non-
banked memory locations can be addressed directly or
indirectly using the FSR (File Select Register). The
special-function registers are mapped into the data
memory.
6.2.1. File Select Register (04h)
Instructions that specify a register as the operand can only
express five bits of register address. This means that only
registers 00h to 1Fh can be accessed. The File Select
Register (FSR) provides the ability to access registers
beyond 1Fh.
Figure 6-1 shows how FSR can be used to address RAM
locations. The three high-order bits of FSR select one of
eight SRAM banks to be accessed. The five low-order bits
select one of 32 SRAM locations within the selected
bank. FSR.4 essentially enables or disables banked RAM.
For the lower 16 addresses, Bank 0 is always accessed,
irrespective of the three high-order bits. Thus, RAM
register addresses 00h through 0Fh are “global” in that
they can always be accessed, regardless of the contents of
the FSR.
The entire data memory (including the dedicated-function
registers) consists of the lower 16 bytes of Bank 0 and the
upper 16 bytes of Bank 0 through Bank 7, for a total of
(1+8)*16 = 144 bytes. Eight of these bytes are for the
function registers, leaving 136 general-purpose memory
locations. In the 18-pin SX packages, register RC is not
used, which makes address 07h available as an additional
general-purpose memory location.
Below is an example of how to write to register 10h in
Bank 4:
mov
FSR,#$90
;Select Bank 4 by
;setting FSR<7:5>
mov
$10,#$64
;load register 10h with
;the literal 64h



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51


Datenblatt Download

Go To PDF Page


Link URL



War ALLDATASHEET hilfreich?  [ DONATE ] 

Über Alldatasheet   |   Werbung   |   Kontakt   |   Privatsphäre und Datenschutz   |   Link zum Datenblatt    |   Linktausch   |   Hersteller
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com