数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

ST6391 数据表(PDF) 56 Page - STMicroelectronics

部件名 ST6391
功能描述  8-BIT HCMOS MCUs FOR TV FREQUENCY SYNTHESIS WITH OSD
PDF  68 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

ST6391 数据表(HTML) 56 Page - STMicroelectronics

Back Button ST6391 Datasheet HTML 52Page - STMicroelectronics ST6391 Datasheet HTML 53Page - STMicroelectronics ST6391 Datasheet HTML 54Page - STMicroelectronics ST6391 Datasheet HTML 55Page - STMicroelectronics ST6391 Datasheet HTML 56Page - STMicroelectronics ST6391 Datasheet HTML 57Page - STMicroelectronics ST6391 Datasheet HTML 58Page - STMicroelectronics ST6391 Datasheet HTML 59Page - STMicroelectronics ST6391 Datasheet HTML 60Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 56 / 68 page
background image
SOFTWARE DESCRIPTION
The ST63xx software has been designed to fully
use the hardware in the most efficient way possible
while keeping byte usage to a minimum; in short to
provide byte efficient programming capability. The
ST63xx Core has the ability to set or clear any
register or RAM location bit of the Data space with
a single instruction. Furthermore, the program may
branch to a selected address depending on the
status of any bit of the Data space. The carry bit is
stored with the value of the bit when the SET or
RES instruction is processed.
Addressing Modes
The ST63xx Core has nine addressing modes
which are described in the following paragraphs.
The ST63xx Core uses three different address
spaces : Program space, Data space, and Stack
space. Program space contains the instructions
which are to be executed, plus the data for imme-
diate mode instructions. Data space contains the
Accumulator, the X,Y,V and W registers, peripheral
and Input/Outputregisters, the RAM locations and
Data ROM locations (for storage of tables and
constants). Stack space contains six 12-bit RAM
cells used to stack the return addresses for subrou-
tines and interrupts.
Immediate. In the immediate addressing mode,
the operand of the instruction follows the opcode
location. As the operand is a ROM byte, the imme-
diate addressing mode is used to access constants
which do not change during program execution
(e.g., a constant used to initialize a loop counter).
Direct. In the direct addressing mode, the address
of the byte that is processed by the instruction is
stored in the location that follows the opcode. Direct
addressing allows the user to directly address the
256 bytes in Data Space memory with a single
two-byte instruction.
Short Direct. The Core can address the four RAM
registers X,Y,V,W (locations 80H, 81H, 82H, 83H)
in the short-direct addressing mode. In this case,
the instruction is only one byte and the selection of
the location to be processed is contained in the
opcode. Short direct addressing is a subset of the
direct addressing mode. (Note that 80H and 81H
are also indirect registers).
Extended. In the extended addressing mode, the
12-bit address needed to define the instruction is
obtained by concatenating the four less significant
bits of the opcode with the byte following the op-
code. The instructions (JP, CALL) that use the
extended addressing mode are able to branch to
any address of the 4K bytes Program space.
An extended addressing mode instruction is two-
byte long.
Program Counter Relative. The relative address-
ing mode is only used in conditional branch instruc-
tions. The instruction is used to perform a test and,
if the condition is true, a branch with a span of -15
to +16 locations around the address of the relative
instruction. If the condition is not true, the instruc-
tion that follows the relative instruction is executed.
The relative addressing mode instruction is one-
byte long. The opcode is obtained in adding the
three most significant bits that characterize the kind
of the test, one bit that determines whether the
branch is a forward (when it is 0) or backward (when
it is 1) branch and the four less significant bits that
give the span of the branch (0h to Fh) that must be
added or subtracted to the address of the relative
instruction to obtain the address of the branch.
Bit Direct. In the bit direct addressing mode, the
bit to be set or cleared is part of the opcode, and
the byte following the opcode points to the address
of the byte in which the specified bit must be set or
cleared. Thus, any bit in the 256 locations of Data
space memory can be set or cleared.
Bit Test & Branch. The bit test and branch ad-
dressing mode is a combination of direct address-
ing and relative addressing. The bit test and branch
instruction is three-byte long. The bit identification
and the tested condition are included in the opcode
byte. The address of the byte to be tested follows
immediately the opcode in the Program space. The
third byte is the jump displacement, which is in the
range of -126 to +129. This displacement can be
determined using a label, which is converted by the
assembler.
Indirect. In the indirect addressing mode, the byte
processed by the register-indirect instruction is at
the address pointed by the content of one of the
indirect registers, X or Y (80H,81H). The indirect
register is selected by the bit 4 of the opcode. A
register indirect instruction is one byte long.
Inherent. In the inherent addressing mode, all the
information necessary to execute the instruction is
contained in the opcode. These instructions are
one byte long.
®
ST6391,92,93,95,97,99
52/64



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 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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