參數(shù)資料
型號: SX28
廠商: Electronic Theatre Controls, Inc.
英文描述: Configurable Communications Controllers with EE/Flash Program Memory, In-System Programming Capability and On-Chip Debug
中文描述: 配置通信控制器與電子工程/閃存程序存儲器,在系統(tǒng)編程能力和片上調(diào)試
文件頁數(shù): 32/52頁
文件大?。?/td> 688K
代理商: SX28
2000 Scenix Semiconductor, Inc. All rights reserved.
- 32 -
www.scenix.com
SX18AC/SX20AC/SX28AC/SX18AC75/SX20AC75/SX28AC75
15.10.2 Page Jump Operation
When a JMP instruction is executed and the intended
destination is on a different page, the page select bits
must be initialized with appropriate values to point to the
desired page before the jump occurs. This can be done
easily with SETB and CLRB instructions or by writing a
value to the STATUS register. The device also has the
PAGE instruction, which automatically selects the page in
a single-cycle execution.
Note: “N” must be 0, 1, 2, or 3.
15.10.3 Call Operation
The following happens when a CALL instruction is exe-
cuted:
The current value of the program counter is increment-
ed and pushed onto the top of the stack.
The lower eight bits of the label address are copied into
the lower eight bits of the program counter.
The ninth bit of the Program Counter is cleared to zero.
The page select bits (in STATUS register) are copied
into the upper two bits of the Program Counter.
This means that the call destination must start in the
lower half of any page. For example, 00h-0FFh, 200h-
2FFh, 400h-4FFh, etc.
15.10.4 Page Call Operation
When a subroutine that resides on a different page is
called, the page select bits must contain the proper val-
ues to point to the desired page before the call instruction
is executed. This can be done easily using SETB and
CLRB instructions or writing a value to the STATUS reg-
ister. The device also has the PAGE instruction, which
automatically selects the page in a single-cycle execu-
tion.
Note:“N” must be 0, 1, 2, or 3.
15.11
The device has several instructions for returning from
subroutines and interrupt service routines. The return
from subroutine instructions are RET (return without
affecting W), RETP (same as RET but affects PA1:PA0),
RETI (return from interrupt), RETIW (return and add W to
RTCC), and RETW #literal (return and place literal in W).
The literal serves as an immediate data value from mem-
ory. This instruction can be used for table lookup opera-
tions. To do table lookup, the table must contain a string
of RETW #literal instructions. The first instruction just in
front of the table calculates the offset into the table. The
table can be used as a result of a CALL.
Return Instructions
PAGE N
STATUS<6:5>
JMP LABEL
PC<10:9>
PC<8:0>
STATUS<6:5>
0
CALL LABEL
PC<10:9>
PC<8>
PC<7:0>
PAGE N
STATUS<6:5>
0
CALL LABEL
PC<10:9>
PC<8>
PC<7:0>
相關(guān)PDF資料
PDF描述
SX28AC Configurable Communications Controllers with EE/Flash Program Memory, In-System Programming Capability and On-Chip Debug
SX18AC75 Configurable Communications Controllers with EE/Flash Program Memory, In-System Programming Capability and On-Chip Debug
SX48BD Configurable Communications Controllers with EE/Flash Program Memory, In-System Programming Capability, and On-Chip Debug
SX52BD Configurable Communications Controllers with EE/Flash Program Memory, In-System Programming Capability, and On-Chip Debug
SX493 Photomicrosensor
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
SX2800 制造商:Samson Technologies 功能描述:900W SX Series Rack Mount Stereo Amplifier
SX282 制造商:Mallory Sonalert Products Inc 功能描述:Cap Film 0.0082uF 500V PS 5% (15 X 22mm) Axial 70°C
SX28AA100-I/DP 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Configurable Communications Controllers with EE/Flash Program Memory, In-System Programming Capability and On-Chip Debug
SX28AA100-I/PQ 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Configurable Communications Controllers with EE/Flash Program Memory, In-System Programming Capability and On-Chip Debug
SX28AA100-I/SO 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Configurable Communications Controllers with EE/Flash Program Memory, In-System Programming Capability and On-Chip Debug