Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

HTG12N0 Datasheet(PDF) 27 Page - Holtek Semiconductor Inc

Part # HTG12N0
Description  4-Bit Microcontroller
PDF  30 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HTG12N0 Datasheet(HTML) 27 Page - Holtek Semiconductor Inc

Back Button HTG12N0 Datasheet HTML 22Page - Holtek Semiconductor Inc HTG12N0 Datasheet HTML 23Page - Holtek Semiconductor Inc HTG12N0 Datasheet HTML 24Page - Holtek Semiconductor Inc HTG12N0 Datasheet HTML 25Page - Holtek Semiconductor Inc HTG12N0 Datasheet HTML 26Page - Holtek Semiconductor Inc HTG12N0 Datasheet HTML 27Page - Holtek Semiconductor Inc HTG12N0 Datasheet HTML 28Page - Holtek Semiconductor Inc HTG12N0 Datasheet HTML 29Page - Holtek Semiconductor Inc HTG12N0 Datasheet HTML 30Page - Holtek Semiconductor Inc  
Zoom Inzoom in Zoom Outzoom out
 27 / 30 page
background image
READF MR0A
Read ROM Code of page F to M(R1,R0) and ACC
Machine Code
0 1 0 0 1 1 1 1
Description
The 8-bit ROM code (page F) addressed by ACC and R4 are moved to the
data memory M(R1,R0) and accumulator. The high nibble of the ROM code
is loaded to M(R1,R0) and the low nibble of the ROM code is loaded to the
accumulator.
page F
→ ROM code address bit 12~8 are “PA3 1111”
ACC
→ ROM code address bit 7~4
R4
→ ROM code address bit 3~0
Operation
M(R1,R0)
← high nibble of ROM code (page F)
ACC
← low nibble of ROM code (page F)
READF R4A
Read ROM code of page F to R4 and accumulator
Machine Code
0 1 0 0 1 1 0 1
Description
The 8-bit ROM code (page F) addressed by ACC and M(R1,R0) are moved
to the working register R4 and accumulator. The high nibble of the ROM
code is loaded to R4 and the low nibble of the ROM code is loaded to the ac-
cumulator.
page F
→ ROM code address bit 12~8 are “PA3 1111”
ACC
→ ROM code address bit 7~4
M(R1,R0)
→ ROM code address bit 3~0
Operation
R4
← high nibble of ROM code (page F)
ACC
← low nibble of ROM code (page F)
RET
Return from subroutine or interrupt
Machine Code
0 0 1 0 1 1 1 0
Description
The program counter bits 0~11 are restored from the stack.
Operation
PC
← Stack
RETI
Return from interrupt subroutine
Machine Code
0 0 1 0 1 1 1 1
Description
The program counter bits 0~11 are restored from the stack. The carry flag
before entering the interrupt service routine is restored.
Operation
PC
← Stack
C
← C (before interrupt service routine)
RL A
Rotate accumulator left
Machine Code
0 0 0 0 0 0 0 1
Description
The contents of the accumulator are rotated left one bit. Bit 3 is rotated to
bit 0 and carry flag.
Operation
An+1
← An; An: accumulator bit n (n=0,1,2)
A0
← A3
C
← A3
HTG12N0
27
18th Mar ’99



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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