| 전자부품 데이터시트 검색엔진 |
|
PMS232 데이터시트(PDF) 79 Page - PADAUK Technology. |
|
|
|||||||||||||||||||||||||||||
PMS232 데이터시트(HTML) 79 Page - PADAUK Technology. |
|
79 / 94 page ![]() PMC232/PMS232 Series 12-bit ADC Enhanced FPPA TM 8-bit OTP Controller ©Copyright 2018, PADAUK Technology Co. Ltd Page 79 of 94 PDK-DS-PMx232_V104– Dec. 18, 2018 Application Example: ------------------------------------------------------------------------------------------------------------------------ mov a, 0x38 ; mov mem, a ; // mem = 0x38 neg mem ; // mem = 0xC8 ------------------------------------------------------------------------------------------------------------------------ comp a, I Compare ACC with immediate data Example: comp a, 0x55; Result: Flag will be changed by regarding as ( a - 0x55 ) Affected flags: 『Y』Z 『Y』C 『Y』AC 『Y』OV Application Example: ------------------------------------------------------------------------------------------------------------------------ mov a, 0x38 ; comp a, 0x38 ; // Z flag is set comp a, 0x42 ; // C flag is set comp a, 0x24 ; // C, Z flags are clear comp a, 0x6a ; // C, AC flags are set ------------------------------------------------------------------------------------------------------------------------ comp a, M Compare ACC with the content of memory Example: comp a, MEM; Result: Flag will be changed by regarding as ( a - MEM ) Affected flags: 『Y』Z 『Y』C 『Y』AC 『Y』OV Application Example: ------------------------------------------------------------------------------------------------------------------------ mov a, 0x38 ; mov mem, a ; comp a, mem ; // Z flag is set mov a, 0x42 ; mov mem, a ; mov a, 0x38 ; comp a, mem ; // C flag is set ------------------------------------------------------------------------------------------------------------------------ comp M, a Compare ACC with the content of memory Example: comp MEM, a; Result: Flag will be changed by regarding as ( MEM - a ) Affected flags: 『Y』Z 『Y』C 『Y』AC 『Y』OV |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |