欧美成人免费电影,国产欧美一区二区三区精品酒店,精品国产a毛片,色网在线免费观看

參數資料
型號: FM8P51F
廠商: Electronic Theatre Controls, Inc.
英文描述: EPROM/ROM-Based 8-Bit Microcontroller
中文描述: 存儲器/基于ROM的8位微控制器
文件頁數: 41/60頁
文件大小: 369K
代理商: FM8P51F
FM8P51
Rev1.2 Mar 15, 2005
P.41/FM8P51
FEELING
TECHNOLOGY
2.13 Hexadecimal Convert to Decimal (HCD)
Decimal format is another number format for FM8P51 series. When the content of the data memory has been
assigned as decimal format, it is necessary to convert the results to decimal format after the execution of ALU
instructions. When the decimal converting operation is processing, all of the operand data (including the contents of
the data memory (RAM), accumulator (ACC), immediate data, and look-up table) should be in the decimal format, or
the results of conversion will be incorrect.
Instruction DAA can convert the ACC data from hexadecimal to decimal format after any addition operation and
restored to ACC.
The conversion operation is illustrated in example 2.2.
EXAMPLE 2.2: DAA CONVERSION
MOVIA
90h
;Set immediate data = decimal format number “90” (ACC
90h)
MOVAR
30h
;Load immediate data “90” to data memory address 30H
MOVIA
10h
;Set immediate data = decimal format number “10” (ACC
10h)
ADDAR
30h, 0
;Contents of the data memory address 30H and ACC are binary-added
;the result loads to the ACC (ACC
A0h, C
0)
DAA
;Convert the content of ACC to decimal format, and restored to ACC
;The result in the ACC is “00” and the carry bit C is “1”. This represents the
;decimal number “100”
Instruction DAS can convert the ACC data from hexadecimal to decimal format after any subtraction
operation and restored to ACC.
The conversion operation is illustrated in example 2.3.
EXAMPLE 2.3: DAS CONVERSION
MOVIA
10h
;Set immediate data = decimal format number “10” (ACC
10h)
MOVAR
30h
;Load immediate data “10” to data memory address 30H
MOVIA
20h
;Set immediate data = decimal format number “20” (ACC
20h)
SUBAR
30h, 0
;Contents of the data memory address 30H and ACC are binary-subtracted
;the result loads to the ACC (ACC
F0h, C
0)
DAS
;Convert the content of ACC to decimal format, and restored to ACC
;The result in the ACC is “90” and the carry bit C is “0”. This represents the
;decimal number “ -10”
2.14 Oscillator Configurations
FM8P51 series can be operated in four different oscillator modes. Users can program two configuration bits
(Fosc<1:0>) to select the appropriate modes:
LF: Low Frequency Crystal Oscillator
HF: High Frequency Crystal/Resonator Oscillator
ERIC: External Resistor/Internal Capacitor Oscillator
ERC: External Resistor/Capacitor Oscillator
In LF, or HF modes, a crystal or ceramic resonator in connected to the OSCI and OSCO pins to establish oscillation.
When in LF, or HF modes, the devices can have an external clock source drive the OSCI pin.
The ERC/ERIC device option offers additional cost savings for timing insensitive applications. The RC oscillator
frequency is a function of the supply voltage, the resistor (Rext) and capacitor (Cext), the operating temperature,
and the process parameter.
相關PDF資料
PDF描述
FM8P51P EPROM/ROM-Based 8-Bit Microcontroller
FM8P51E EPROM/ROM-Based 8-Bit Microcontroller
FM8P54 EPROM/ROM-Based 8-Bit Microcontroller Series
FM8P54E EPROM/ROM-Based 8-Bit Microcontroller Series
FM8P56 EPROM/ROM-Based 8-Bit Microcontroller Series
相關代理商/技術參數
參數描述
FM8P51P 制造商:未知廠家 制造商全稱:未知廠家 功能描述:EPROM/ROM-Based 8-Bit Microcontroller
FM8P54 制造商:未知廠家 制造商全稱:未知廠家 功能描述:EPROM/ROM-Based 8-Bit Microcontroller Series
FM8P54E 制造商:未知廠家 制造商全稱:未知廠家 功能描述:EPROM/ROM-Based 8-Bit Microcontroller Series
FM8P56 制造商:未知廠家 制造商全稱:未知廠家 功能描述:EPROM/ROM-Based 8-Bit Microcontroller Series
FM8P56E 制造商:未知廠家 制造商全稱:未知廠家 功能描述:EPROM/ROM-Based 8-Bit Microcontroller Series
主站蜘蛛池模板: 石河子市| 施甸县| 临泽县| 读书| 颍上县| 吴忠市| 铁力市| 凌海市| 延寿县| 左权县| 凤山县| 邵阳市| 凉城县| 城固县| 鱼台县| 家居| 济宁市| 壤塘县| 甘南县| 南丰县| 吐鲁番市| 丹棱县| 宝鸡市| 姜堰市| 义马市| 台江县| 万盛区| 永靖县| 大厂| 武乡县| 阿瓦提县| 同德县| 玛多县| 郯城县| 霍山县| 于田县| 湛江市| 来安县| 曲水县| 尉氏县| 房山区|