DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

EM73362 データシートの表示(PDF) - ELAN Microelectronics

部品番号
コンポーネント説明
メーカー
EM73362
EMC
ELAN Microelectronics EMC
EM73362 Datasheet PDF : 40 Pages
1 2 3 4 5 6 7 8 9 10 Next Last
EM73362
4-BIT MICRO-CONTROLLER FOR LCD PRODUCT
PROGRAM EXAMPLE: Read out the ROM code of address 777h by table-look-up instruction.
LDIA #07h;
STADPL
STADPM
STADPH
:
; [DP]L 07h
; [DP]M 07h
;
[DP]
H
07h,
Load
DP=777h
LDL #00h;
LDH #03h;
LDAX
; ACC 6h
STAMI ; RAM[30] 6h
LDAXI ; ACC 5h
STAM
; RAM[31] 5h
;
ORG 777h
DATA 56h;
:
DATA RAM ( 52-nibble )
There is total 52 - nibble data RAM from address 00 to 33h
Data RAM includes 3 parts: zero page region, stacks and data area.
Increment
Address
00h - 0Fh Level 0 Level 1
10h - 1Fh
20h - 2Fh
Level 4
Level 8
Level 5
Level 9
30h - 33h Level 12
Level 2
Level 6
Level 10
Level 3
Level 7
Level 11
ZERO- PAGE:
Stack
Zero-page
From 00h to 0Fh is the location of zero-page. It is used as the pointer in zero-page addressing mode for the
instruction of "STD #k,y; ADD #k,y; CLR y,b; CMP k,y".
PROGRAM EXAMPLE: To wirte immediate data "07h" to address "03h" of RAM and to clear bit 2 of RAM.
STD #07h, 03h ; RAM[03] 07h
CLR 0Eh,2 ; RAM[0Eh]2 0
STACK:
There are 13-level (maximum) stack for user using for subroutine (including interrupt and CALL). User can
assign any level be the starting stack by giving the level number to stack pointer (SP).
When user using any instruction of CALL or subroutine, before entry the subroutine, the previous PC address
will be saved into stack until return from those subroutines, the PC value will be restored by the data saved
in stack.
DATA AREA:
Except the special area used by user, the whole RAM can be used as data area for storing and loading general
data.
* This specification are subject to be changed without notice.
10.8.2001 5

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]