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

X  

ST7293 数据表(PDF) 9 Page - STMicroelectronics

部件名 ST7293
功能描述  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

ST7293 数据表(HTML) 9 Page - STMicroelectronics

Back Button ST7293 Datasheet HTML 5Page - STMicroelectronics ST7293 Datasheet HTML 6Page - STMicroelectronics ST7293 Datasheet HTML 7Page - STMicroelectronics ST7293 Datasheet HTML 8Page - STMicroelectronics ST7293 Datasheet HTML 9Page - STMicroelectronics ST7293 Datasheet HTML 10Page - STMicroelectronics ST7293 Datasheet HTML 11Page - STMicroelectronics ST7293 Datasheet HTML 12Page - STMicroelectronics ST7293 Datasheet HTML 13Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 69 page
background image
9/69
ST7294
Stack Pointer (SP). The stack pointer is a 16-bit
register. The 6 least significant bits contain the ad-
dress of the next free location of the Stack. The 10
most significant bits are forced as indicated in Fig-
ure 4. They are reserved for future extensions of
the ST72 family.
The Stack is used to save the CPU context on
subroutine calls or interrupts. The user can also
directly use it by means of the PUSH and POP in-
structions.
After a MCU reset or after the Reset Stack Pointer
instruction (RSP), the Stack Pointer is set to its up-
per value (0FFh). It is then decremented after data
has been pushed onto the Stack and incremented
after data is popped from the Stack. When the
lower limit is exceeded, the Stack Pointer wraps
around to the stack upper limit. The previously
stored information is then over written and there-
fore lost.
A subroutine call occupies two locations and an in-
terrupt five locations.
Condition Code Register (CC).
The Condition Code register is a 5 bit register
which indicates the result of the instruction just ex-
ecuted, as well as the state of the processor.
These bits can be individually tested by a program
and specific action may be taken as a result of
their state. The following paragraphs describe
each bit.
Half carry bit (H). The H bit is set to 1 when a car-
ry occurs between the bits 3 and 4 of the ALU dur-
ing an ADD or ADC instruction. The H bit is useful
in BCD arithmetic subroutines.
Interrupt mask (I). When the I bit is set to 1, all in-
terrupts are disabled. Clearing this bit enables
them. Interrupts requested while I is set are
latched and can be processed when I is cleared
(only one interrupt request per interrupt enable
flag can be latched).
Negative (N). When set to 1, this bit indicates that
the result of the last arithmetic, logical or data ma-
nipulation is negative (i.e. the most significant bit
is a logic 1).
Zero (Z). When set to 1, this bit indicates that the
result of the last arithmetic, logical or data manip-
ulation is zero.
Carry/Borrow (C). When set, C indicates that a
carry or borrow out of the ALU occurred during the
last arithmetic operation. This bit is also affected
during bit test, branch, shift, rotate and storage in-
structions.
CENTRAL PROCESSING UNIT (Continued)
Figure 5. Stacking Order
INCREASING
MEMORY
UNSTACK
ACCUMULATOR
X INDEX REGISTER
PCH
PCL
(PUSH)
DECREASING
MEMORY
11
1
VR000074
0
7
ADDRESSES
ADDRESSES
STACK
(POP)
CONDITION CODE



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