Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Spanish  ▼
ALLDATASHEET.ES

X  

HT36B2 Datasheet(PDF) 9 Page - Holtek Semiconductor Inc

No. de pieza HT36B2
Descripción Electrónicos  8-Bit Music Synthesizer MCU
PDF  39 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  HOLTEK [Holtek Semiconductor Inc]
Página de inicio  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT36B2 Datasheet(HTML) 9 Page - Holtek Semiconductor Inc

Back Button HT36B2 Datasheet HTML 5Page - Holtek Semiconductor Inc HT36B2 Datasheet HTML 6Page - Holtek Semiconductor Inc HT36B2 Datasheet HTML 7Page - Holtek Semiconductor Inc HT36B2 Datasheet HTML 8Page - Holtek Semiconductor Inc HT36B2 Datasheet HTML 9Page - Holtek Semiconductor Inc HT36B2 Datasheet HTML 10Page - Holtek Semiconductor Inc HT36B2 Datasheet HTML 11Page - Holtek Semiconductor Inc HT36B2 Datasheet HTML 12Page - Holtek Semiconductor Inc HT36B2 Datasheet HTML 13Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 39 page
background image
HT36B2
Rev. 1.10
9
March 10, 2005
cations will return the result 00H. The general purpose
data memory, addressed from 40H to FFH, is used for
data and control information under instruction command.
All data memory areas can handle arithmetic, logic, in-
crement, decrement and rotate operations directly. Ex-
cept for some dedicated bits, each bit in the data
memory can be set and reset by the SET [m].i and CLR
[m].i instructions, respectively. They are also indirectly
accessible through Memory pointer registers
(MP0;01H, MP1;03H) and BP.
Indirect Addressing Register
Location 00H and 02H are indirect addressing registers
that are not physically implemented. Any read/write op-
eration of [00H] and [02H] access data memory pointed
to by MP0 (01H) and MP1 (03H) respectively. Reading
location 00H or 02H directly will return the result 00H.
And writing directly results in no operation.
The function of data movement between two indirect ad-
dressing registers, is not supported. The memory
pointer registers, MP0 (for bank0 only) and MP1, are
8-bit register which can be used to access the data
memory by combining corresponding indirect address-
ing registers.
Accumulator
The accumulator closely relates to ALU operations. It is
mapped to location 05H of the data memory and it can
operate with immediate data. The data movement be-
tween two data memory locations must pass through
the accumulator.
Arithmetic and Logic Unit
- ALU
This circuit performs 8-bit arithmetic and logic operation.
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 & Decrement (INC, DEC)
· Branch decision (SZ, SNZ, SIZ, SDZ ....)
The ALU not only saves the results of a data operation but
can also change 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 program counters, bits
in the status register can be altered by instructions like
any other register. Any data written into the status regis-
ter will not change the TO or program counters. In addi-
tion it should be noted that operations related to the
status register may give different results from those in-
tended. The TO and PDF flags can only be changed by
system power up, Watchdog Timer overflow, executing
the HALT instruction and clearing the Watchdog Timer.
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 a subroutine call, the status register will not be
automatically pushed onto the stack. If the contents of
status are important and the subroutine can corrupt the
status register, the programmer must take precautions
to save it properly.
Interrupt
The HT36B2 provides one external interrupt, and two in-
ternal timer/event counter interrupts on each bank. The
Interrupt Control register (INTC;0BH) contains the inter-
rupt control bits that sets the enable/disable and the in-
terrupt request flags.
Bit No.
Label
Function
0C
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. It is also affected by a rotate through
carry instruction.
1AC
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.
2
Z
Z is set if the result of an arithmetic or logical operation is zero, otherwise Z is cleared.
3OV
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.
4
PDF
PDF is cleared by either a system power-up or executing the CLR WDT instruction. PDF is set by
executing the HALT instruction.
5TO
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~7
¾
Unused bit, read as
²0²
STATUS (0AH) Register



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


Datasheet Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
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