| Moteur de recherche de fiches techniques de composants électroniques |
|
EM73361A Fiches technique(PDF) 5 Page - ELAN Microelectronics Corp |
|
|
|||||||||||||||||||||||||||||
EM73361A Fiches technique(HTML) 5 Page - ELAN Microelectronics Corp |
|
5 / 33 page ![]() 5 * This specification are subject to be changed without notice. 10.8.2001 EM73361A EM73361A EM73361A EM73361A EM73361A 4-BIT MICRO-CONTROLLER FOR LCD PRODUCT 4-BIT MICRO-CONTROLLER FOR LCD PRODUCT 4-BIT MICRO-CONTROLLER FOR LCD PRODUCT 4-BIT MICRO-CONTROLLER FOR LCD PRODUCT 4-BIT MICRO-CONTROLLER FOR LCD PRODUCT 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). 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 Increment Address 20h - 2Fh 30h - 33h Level 0 Level 4 Level 8 Level 12 Level 1 Level 5 Level 9 Level 2 Level 6 Level 10 Level 3 Level 7 Level 11 00h - 0Fh 10h - 1Fh Stack Zero-page DATA RAM ( 52-nibble ) DATA RAM ( 52-nibble ) DATA RAM ( 52-nibble ) DATA RAM ( 52-nibble ) 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. LDAX LDAX LDAX LDAX LDAX Acc Acc Acc Acc Acc ← ← ← ← ← ROM[DP] ROM[DP] ROM[DP] ROM[DP] ROM[DP] L L L L L LDAXI LDAXI LDAXI LDAXI LDAXI Acc Acc Acc Acc Acc ← ← ← ← ← ROM[DP] ROM[DP] ROM[DP] ROM[DP] ROM[DP] H H H H H,DP+1 ,DP+1 ,DP+1 ,DP+1 ,DP+1 DP is a 12-bit data register which can store the program ROM address to be the pointer for the ROM code data. First, user load ROM address into DP by instruction "STADPL, STADPM, STADPH", then user can get the lower nibble of ROM code data by instruction "LDAX" and higher nibble by instruction "LDAXI". PROGRAM EXAMPLE: Read out the ROM code of address 777h by table-look-up instruction. LDIA #07h; STADPL ; [DP] L ← 07h STADPM ; [DP] M ← 07h STADPH ; [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; : Table-look-up instruction is depended on the Data Pointer ( DP ) to indicate to ROM address, then to get the ROM code data. User's program and fixed data are stored in the program ROM. User's program is according the PC value to send next executed instruction code. Fixed data can be read out by table-look-up instruction. |
|
Lien URL |
| ALLDATASHEET vous a-t-il été utile ? [ DONATE ] |
À propos de Alldatasheet | Publicité | Contactez-nous | Politique de confidentialité | Lien vers la fiche technique | Echange de liens | Fabricants All Rights Reserved©Alldatasheet.com |
| 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 |