| Electronic Components Datasheet Search |
|
MCS11 Datasheet(PDF) 86 Page - PADAUK Technology. |
|
|
|||||||||||||||||||||||||||||
MCS11 Datasheet(HTML) 86 Page - PADAUK Technology. |
|
86 / 108 page ![]() MCS11 ADC-Type Enhanced FPPA TM Controller ©Copyright 2018, PADAUK Technology Co. Ltd Page 86 of 108 PDK-DS-MCS11_v020 – Apr. 20, 2018 ldtabh index Load high byte data in OTP program memory to ACC by using index as OTP address. It needs 2T to execute this instruction. Example: ldtabh index; Result: a ← {bit 15~8 of OTP [index]}; Affected flags: 『N』Z 『N』C 『N』AC 『N』OV Application Example: ------------------------------------------------------------------------------------------------------------------------ word ROMptr ; // declare a pointer of ROM in RAM … mov a, la@TableA ; // assign pointer to ROM TableA (LSB) mov lb@ROMptr, a ; // save pointer to RAM (LSB) mov a, ha@TableA ; // assign pointer to ROM TableA (MSB) mov hb@ROMptr, a ; // save pointer to RAM (MSB) … ldtabh ROMptr ; // load TableA MSB to ACC (ACC=0X02) …. TableA : dc 0x0234, 0x0042, 0x0024, 0x0018 ; ------------------------------------------------------------------------------------------------------------------------ ldtabl index Load low byte data in OTP to ACC by using index as OTP address. It needs 2T to execute this instruction. Example: ldtabl index; Result: a ← {bit7~0 of OTP [index]}; Affected flags: 『N』Z 『N』C 『N』AC 『N』OV Application Example: ------------------------------------------------------------------------------------------------------------------------ word ROMptr ; // declare a pointer of ROM in RAM … mov a, la@TableA ; // assign pointer to ROM TableA (LSB) mov lb@ROMptr, a ; // save pointer to RAM (LSB) mov a, ha@TableA ; // assign pointer to ROM TableA (MSB) mov hb@ROMptr, a ; // save pointer to RAM (MSB) … ldtabl ROMptr ; // load TableA LSB to ACC (ACC=0x34) …. TableA : dc 0x0234, 0x0042, 0x0024, 0x0018 ; ------------------------------------------------------------------------------------------------------------------------ |
|
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 |
| 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 |