參數(shù)資料
型號(hào): M3826AMFA-XXXGP
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 10 MHz, MICROCONTROLLER, PQFP100
封裝: PLASTIC, LQFP-100
文件頁(yè)數(shù): 70/93頁(yè)
文件大?。?/td> 996K
代理商: M3826AMFA-XXXGP
Rev.2.00
May. 24, 2006
page 72 of 90
REJ03B0028-0200
3826 Group (A version)
Fig. 3.3.1 Initialization of processor status register
How to reference the processor status register
To reference the contents of the processor status register (PS), execute the PHP instruction
once then read the contents of (S+1). If necessary, execute the PLP instruction to return the
PS to its original status.
3.3 Notes on use
3.3.1 Notes on programming
(1)
Processor status register
Initializing of processor status register
Flags which affect program execution must be initialized after a reset.
In particular, it is essential to initialize the T and D flags because they have an important effect
on calculations.
● Reason
After a reset, the contents of the processor status register (PS) are undefined except for the
I flag which is “1”.
Fig. 3.3.3 Stack memory contents after PHP
instruction execution
Reset
Initializing of flags
Main program
(S)
(S)+1
Stored PS
相關(guān)PDF資料
PDF描述
M3826AMFA-XXXGP 8-BIT, MROM, 10 MHz, MICROCONTROLLER, PQFP100
M38268MCA-XXXGP 8-BIT, MROM, 10 MHz, MICROCONTROLLER, PQFP100
M3826AMFA-XXXFP 8-BIT, MROM, 10 MHz, MICROCONTROLLER, PQFP100
M3826AMFLXXXGP 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PQFP100
M38268MCLXXXFP 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PQFP100
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M3826-BK001 制造商:Alpha Wire 功能描述:
M3826-BK002 制造商:Alpha Wire 功能描述:
M3826-BK005 制造商:Alpha Wire 功能描述:
M3826-BK199 制造商:Alpha Wire 功能描述:
M3826-BLACK-100 制造商:Alpha Wire 功能描述: