| Electronic Components Datasheet Search |
|
MCS11 Datasheet(PDF) 83 Page - PADAUK Technology. |
|
|
|||||||||||||||||||||||||||||
MCS11 Datasheet(HTML) 83 Page - PADAUK Technology. |
|
83 / 108 page ![]() MCS11 ADC-Type Enhanced FPPA TM Controller ©Copyright 2018, PADAUK Technology Co. Ltd Page 83 of 108 PDK-DS-MCS11_v020 – Apr. 20, 2018 7-1 Data Transfer Instructions mov a, I Move immediate data into ACC. Example: mov a, 0x0f; Result: a ← 0fh; Affected flags: 『N』Z 『N』C 『N』AC 『N』OV mov M, a Move data from ACC into memory Example: mov MEM, a; Result: MEM ← a Affected flags: 『N』Z 『N』C 『N』AC 『N』OV mov a, M Move data from memory into ACC Example: mov a, MEM ; Result: a ← MEM; Flag Z is set when MEM is zero. Affected flags: 『Y』Z 『N』C 『N』AC 『N』OV mov a, IO Move data from IO into ACC Example: mov a, pa ; Result: a ← pa; Flag Z is set when pa is zero. Affected flags: 『Y』Z 『N』C 『N』AC 『N』OV mov IO, a Move data from ACC into IO Example: mov pb, a; Result: pb ← a Affected flags: 『N』Z 『N』C 『N』AC 『N』OV nmov M, a Take the negative logic (2’s complement) of ACC to put on memory Example: mov MEM, a; Result: MEM ← 〒a Affected flags: 『N』Z 『N』C 『N』AC 『N』OV Application Example: ------------------------------------------------------------------------------------------------------------------------ mov a, 0xf5 ; // ACC is 0xf5 nmov ram9, a; // ram9 is 0x0b, ACC is 0xf5 ------------------------------------------------------------------------------------------------------------------------ nmov a, M Take the negative logic (2’s complement) of memory to put on ACC Example: mov a, MEM ; Result: a ← 〒MEM; Flag Z is set when 〒MEM is zero. Affected flags: 『Y』Z 『N』C 『N』AC 『N』OV Application Example: ------------------------------------------------------------------------------------------------------------------------ mov a, 0xf5 ; mov ram9, a ; // ram9 is 0xf5 nmov a, ram9 ; // ram9 is 0xf5, ACC is 0x0b ------------------------------------------------------------------------------------------------------------------------ |
|
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 |