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

X  

ST7294 数据表(PDF) 31 Page - STMicroelectronics

部件名 ST7294
功能描述  8-BIT MCU WITH 6K ROM, EEPROM AND 16-BIT TIMER WITH INPUT CAPTURE AND DUAL OUTPUT COMPARE
PDF  69 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

ST7294 数据表(HTML) 31 Page - STMicroelectronics

Back Button ST7294 Datasheet HTML 27Page - STMicroelectronics ST7294 Datasheet HTML 28Page - STMicroelectronics ST7294 Datasheet HTML 29Page - STMicroelectronics ST7294 Datasheet HTML 30Page - STMicroelectronics ST7294 Datasheet HTML 31Page - STMicroelectronics ST7294 Datasheet HTML 32Page - STMicroelectronics ST7294 Datasheet HTML 33Page - STMicroelectronics ST7294 Datasheet HTML 34Page - STMicroelectronics ST7294 Datasheet HTML 35Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 31 / 69 page
background image
31/69
ST7294
5 SOFTWARE
5.1 ST7 ARCHITECTURE
The 8-bit ST7 Core is designed for high code effi-
ciency. It contains 6 internal registers, 17 main ad-
dressing modes and 63 instructions. The 6 inter-
nal registers include 2 index registers, an accumu-
lator, a 16-bit Program Counter, a stack pointer
and a condition code register. The two Index reg-
isters X and Y enable Indexed Addressing modes
with or without offset, along with read-modify-write
type data manipulations. These registers simplify
branching routines and data modifications.
The 16-bit Program Counter is able to address up
to 64K of ROM/EPROM memory. The 6-bit Stack
Pointer provides access to a 64-level Stack and
an upgrade to an 8-bit Stack Pointer is foreseen in
order to be able to manage a 256-level Stack. The
Core also includes a Condition Code Register pro-
viding 5 Condition Flags that indicate the result of
the last instruction executed.
The 17 main Addressing modes, including Indirect
Relative and Indexed addressing, allow sophisti-
cated branching routines or CASE-type functions.
The Indexed Indirect Addressing mode, for in-
stance, permits look-up tables to be located any-
where in the address space, thus enabling very
flexible programming and compact C-based code.
The 63-instruction Instruction Set is 8-bit oriented
with a 2-byte average instruction size. This In-
struction Set offers, in addition to standard data
movement and logic/arithmetic functions, byte
multiplication, bit manipulation, data transfer be-
tween Stack and Accumulator (Push/Pop) with di-
rect stack access, as well as data transfer using
the X and Y registers.
5.2 ST7 ADDRESSING MODES
The ST7 Core features 17 different addressing
modes which can be classified in 7 main groups:
The ST7 Instruction set is designed to minimize
the number of bytes required per instruction: To
do so, most of the addressing modes may be sub-
divided in two sub-modes called long and short:
– The long addressing mode is the most powerful
because it can reach any byte in the 64kb ad-
dressing space, but the instruction is bigger and
slower than the short addressing mode.
– The short addressing mode is less powerful be-
cause it can generally only access the page zero
(00..FF range), but the instruction size is more
compact, and faster. All memory to memory in-
structions are only working with short addressing
modes (CLR, CPL, NEG, BSET, BRES, BTJT,
BTJF, INC, DEC, RLC, RRC, SLL, SRL, SRA,
SWAP)
Both modes have pros and cons, but the program-
mer doesn’t need to choose which one is the best:
the ST7 Assembler will always choose the best one.
Addressing Mode
Example
Inherent
nop
Immediate
ld A,#$55
Direct
ld A,$55
Indexed
ld A,($55,X)
Indirect
ld A,([$55],X)
Relative
jrne loop
Bit operation
bset
byte,#5



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 69


数据表 下载

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