国产精品成人VA在线观看-国产乱妇乱子视频在播放-国产日韩精品一区二区三区在线-国模精品一区二区三区

參數資料
型號: W742C814
廠商: WINBOND ELECTRONICS CORP
元件分類: 4位微控制器
英文描述: 4-BIT SINGLE-CHIP MICROCONTROLLER FOR SMALL GENERAL-PURPOSE INFRARED REMOTE CONTROL TRANSMITTER
中文描述: 4位單片機的小型通用紅外遙控器
文件頁數: 7/46頁
文件大小: 704K
代理商: W742C814
W742C814
Publication Release Date: February 12, 2003
- 7 -
Revision A2
6. FUNCTIONAL DESCRIPTION
6.1 Program Counter (PC)
Organized as an 14-bit binary counter (PC0 to PC13), the program counter generates the addresses
of the 4096
×
16 on-chip ROM containing the program instruction words. Before the jump or
subroutine call instructions are to be executed, the destination ROM page must be determined firstly.
The confirmation of the ROM page can be done by executing the MOV ROMPR, #I or MOV ROMPR,
R instruction. When the interrupt or initial reset conditions are to be executed, the corresponding
address will be loaded into the program counter directly. The format used is shown below.
Table 1. Vector address and interrupt priority
ITEM
ADDRESS
INTERRUPT PRIORITY
Initial Reset
0000H
-
INT 0 (Divider0)
0004H
1
st
2
nd
3
rd
4
th
5
th
INT 1 (Timer 0)
0008H
INT 2 (Port RC)
000CH
INT 3 (Divider1)
0014H
INT 4 (Timer 1)
0020H
JP Instruction
XXXXH
-
Subroutine Call
XXXXH
-
6.2 Stack Register (STACK)
The stack register is organized as 42 bits x 8 levels (first-in, last-out). When either a call subroutine or
an interrupt is executed, the program counter will be pushed onto the stack register automatically. At
the end of a call subroutine or an interrupt service subroutine, the RTN instruction must be executed
to pop the contents of the stack register into the program counter. (Refer to Table
8
) When the stack
register is pushed over the eight levels, the contents of the first level will be lost. In other words, the
stack register is always sixteen levels deep.
6.3 Program Memory (ROM)
The read-only memory (ROM) is used to store program codes; and the look-up table is arranged as
16384 x 4 bits. The program ROM is divided into two pages; the size of each page is 2048 x 16 bits.
So the total ROM size is 4096 x 16 bits. Before the jump or subroutine call instructions are to be
executed, the destination ROM page must be determined firstly. The ROM page can be selected by
executing the MOV ROMPR, #I or MOV ROMPR, R instruction. But the branch decision instructions
(e.g. JB0, SKB0, JZ, JC, ...) must jump to the same ROM page which the branch decision instructions
are in. The whole ROM can store both instruction codes and the look-up table. Each look-up table
element is composed of 4 bits, so the look-up table can be addressed up to 16384 elements.
Instruction MOVC R is used to read the look-up table content and transfer table data to the RAM. But
before reading the addressed look-up table content, the content of the look-up table pointer (TAB)
must be determined firstly. The address of the look-up table element is allocated by the content of
相關PDF資料
PDF描述
W742E813 4-BIT MICROCONTROLLER
W742C81A 4-BIT MICROCONTROLLER
W742S819 4-BIT TELEPHONE CONTROLLER
W742S81A 4-BIT SINGLE-CHIP MICROCONTROLLER FOR SMALL GENERAL-PURPOSE INFRARED REMOTE CONTROL TRANSMITTER
W742S82A 4-BIT TELEPHONE CONTROLLER
相關代理商/技術參數
參數描述
W742C816 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
W742C818 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
W742C81A 制造商:WINBOND 制造商全稱:Winbond 功能描述:4-BIT MICROCONTROLLER
W742CE811 制造商:WINBOND 制造商全稱:Winbond 功能描述:4-BIT MICROCONTROLLER
W742E 制造商:WINBOND 制造商全稱:Winbond 功能描述:4 BIT MICROCONTROLLER