| Electronic Components Datasheet Search |
|
FS91M68 Datasheet(PDF) 23 Page - Fortune Semiconductor Corp. |
|
|
|||||||||||||||||||||||||||||
FS91M68 Datasheet(HTML) 23 Page - Fortune Semiconductor Corp. |
|
23 / 24 page ![]() FS91M68 Rev. 1.3 23/24 SUBWFC Subtract W and Carry from f Syntax: SUBWFC f, d 0 ≤ f ≤ FFh d ∈ [0,1] Operation: [Destination] ← [f] – [W] –C ‧ Flag Affected: C, DC, Z Description: Subtract the content of the W register from [f]. If d is 0, the result is stored in the W register. If d is 1, the result is stored back in [f]. Cycle: 1 Example 1: SUBWFC OPERAND, 1 Before instruction: OPERAND = 33h, W = 01h C = 1 After instruction: OPERAND = 32h, C = 1, Z = 0 Example 2: SUBWFC OPERAND, 1 Before instruction: OPERAND = 02h, W = 01h C = 0 After instruction: OPERAND = 00h, C = 1, Z = 1 Example 3: SUBWFC OPERAND, 1 Before instruction: OPERAND = 04h, W = 05h C = 0 After instruction: OPERAND = FEh, C = 0, Z = 0 XORLW Exclusive OR literal with W Syntax: XORLW k 0 ≤ k ≤ FFh Operation: [W] ← [W] XOR k Flag Affected: Z Description: Exclusive OR the content of the W register and the eight-bit literal "k". The result is stored in the W register. Cycle: 1 Example: XORLW 5Fh Before instruction: W = ACh After instruction: W = F3h XORWF Exclusive OR W and f Syntax: XORWF f, d 0 ≤ f ≤ FFh d ∈ [0,1] Operation: [Destination] ← [W] XOR [f] Flag Affected: Z Description: Exclusive OR the content of the W register and [f]. If d is 0, the result is stored in the W register. If d is 1, the result is stored back in [f]. Cycle: 1 Example: XORWF OPERAND, 1 Before instruction: OPERAND = 5Fh, W = ACh After instruction: OPERAND = F3h |
|
|
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 |