參數(shù)資料
型號(hào): 48e30
廠(chǎng)商: Holtek Semiconductor Inc.
英文描述: 8-Bit I/O Type MCU (With EEPROM)
中文描述: 8位I / O型微控制器(帶EEPROM)
文件頁(yè)數(shù): 44/44頁(yè)
文件大?。?/td> 351K
代理商: 48E30
HT48E30
Rev. 0.00
9
January 12, 2004
Preliminary
Accumulator
The accumulator is closely related to ALU operations. It
is also mapped to location 05H of the data memory and
can carry out immediate data operations. The data
movement between two data memory locations must
pass through the accumulator.
Arithmetic and logic unit
- ALU
This circuit performs 8-bit arithmetic and logic opera-
tions. The ALU provides the following functions:
Arithmetic operations (ADD, ADC, SUB, SBC, DAA)
Logic operations (AND, OR, XOR, CPL)
Rotation (RL, RR, RLC, RRC)
Increment and Decrement (INC, DEC)
Branch decision (SZ, SNZ, SIZ, SDZ ....)
The ALU not only saves the results of a data operation
but also changes the status register.
Status Register
- STATUS
This 8-bit register (0AH) contains the zero flag (Z), carry
flag (C), auxiliary carry flag (AC), overflow flag (OV),
power down flag (PDF), and watchdog time-out flag
(TO). It also records the status information and controls
the operation sequence.
With the exception of the TO and PDF flags, bits in
the status register can be altered by instructions like
most other registers. Any data written into the status
register will not change the TO or PDF flag. In addi-
tion operations related to the status register may give
different results from those intended. The TO flag
can be affected only by a system power-up, a WDT
time-out or executing the
CLR WDT or HALT in-
struction. The PDF flag can be affected only by exe-
cuting the
HALT or CLR WDT instruction or
during a system power-up.
The Z, OV, AC and C flags generally reflect the status of
the latest operations.
In addition, on entering the interrupt sequence or exe-
cuting the subroutine call, the status register will not be
pushed onto the stack automatically. If the contents of
the status are important and if the subroutine may cor-
rupt the status register, precautions must be taken to
save it properly.
Interrupt
The device provides an external interrupt and internal
timer/event counter interrupts. The Interrupt Control
Register (INTC;0BH) contains the interrupt control bits
to set the enable or disable and the interrupt request
flags.
Once an interrupt subroutine is serviced, all the other in-
terrupts will be blocked (by clearing the EMI bit). This
scheme may prevent any further interrupt nesting. Other
interrupt requests may occur during this interval but only
the interrupt request flag is recorded. If a certain inter-
rupt requires servicing within the service routine, the
EMI bit and the corresponding bit of the INTC may be set
to allow interrupt nesting. If the stack is full, the interrupt
request will not be acknowledged, even if the related in-
terrupt is enabled, until the SP is decremented. If immedi-
ate service is desired, the stack must be prevented from
becoming full.
All these kinds of interrupts have a wake-up capability.
As an interrupt is serviced, a control transfer occurs by
pushing the program counter onto the stack, followed by
a branch to a subroutine at specified location in the pro-
gram memory. Only the program counter is pushed onto
the stack. If the contents of the register or status register
(STATUS) are altered by the interrupt service program
which corrupts the desired control sequence, the con-
tents should be saved in advance.
External interrupts are triggered by a high to low transi-
tion of the INT and the related interrupt request flag (EIF;
bit 4 of INTC) will be set. When the interrupt is enabled,
the stack is not full and the external interrupt is active, a
Labels
Bits
Function
C0
C is set if an operation results in a carry during an addition operation or if a borrow does not take
place during a subtraction operation; otherwise C is cleared. C is also affected by a rotate
through carry instruction.
AC
1
AC is set if an operation results in a carry out of the low nibbles in addition or no borrow from the
high nibble into the low nibble in subtraction; otherwise AC is cleared.
Z
2
Z is set if the result of an arithmetic or logic operation is zero; otherwise Z is cleared.
OV
3
OV is set if an operation results in a carry into the highest-order bit but not a carry out of the high-
est-order bit, or vice versa; otherwise OV is cleared.
PDF
4
PDF is cleared by a system power-up or executing the
CLR WDT instruction. PDF is set by ex-
ecuting the
HALT instruction.
TO
5
TO is cleared by a system power-up or executing the
CLR WDT or HALT instruction. TO is
set by a WDT time-out.
6
Unused bit, read as
0
7
Unused bit, read as
0
Status Register
相關(guān)PDF資料
PDF描述
48L120D STANDARD RECOVERY DIODES
48L160D STANDARD RECOVERY DIODES
48LF120D CAP 1500PF 50V CERAMIC MONO 5%
48LF160D STANDARD RECOVERY DIODES
48LFR120D STANDARD RECOVERY DIODES
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
48-EM 制造商:ITW Switches 功能描述:ELECTROMECHANICAL SWITCH KIT, Kit Contents:Miniature Sealed Electro-Mechanical P
48ES 制造商:VISUAL COMMUNICATIONS COMPANY LLC 功能描述:48ES /Custom Part
48ESB 功能描述:燈 Telephone Slide Base .04A .358M ANSI#5 RoHS:否 制造商:Chicago Miniature 燈類(lèi)型:Incandescent 燈座類(lèi)型:Wire Terminal 燈大小:T-1 3/4 顏色: 電壓:14 V 工作電流: MSCP:0.3 MSCP 壽命:40000 hr 封裝:Bulk
48ESB- 功能描述:LAMP T-2 TELEPHONE SLIDE 48V RoHS:是 類(lèi)別:光電元件 >> 燈 - 白熾燈,氖燈 系列:- 標(biāo)準(zhǔn)包裝:100 系列:- 顏色:透明 透鏡樣式/尺寸:圓形,帶圓頂,5mm,T-1 3/4 引線(xiàn)型:小型凹槽 MSCP(平均球面燭光):0.3 額定電壓:60V 其它名稱(chēng):913.4005913.4005-ND
48ESB 制造商:PRIVATE LABEL 功能描述:Incandescent Filament Lamp, Voltage Rating:48V, Bulb Size:T-2, Lamp Ba Type:Slide