| Electronic Components Datasheet Search |
|
FS98O02B-PCE Datasheet(PDF) 47 Page - Fortune Semiconductor Corp. |
|
|
|||||||||||||||||||||||||||||
FS98O02B-PCE Datasheet(HTML) 47 Page - Fortune Semiconductor Corp. |
|
47 / 50 page ![]() FS98O02 Rev.1.5 47/50 to the content of the W register. Cycle 1 Example: MOVLW 23H Before instruction: W = 88h After instruction: W = 23h MOVWF Move W to f Syntax MOVWF f 0 ≤ f ≤ FFh Operation [f] ← [W] Flag Affected None Description Move data from the W register to [f]. Cycle 1 Example: MOVWF OPERAND Before instruction: W = 88h, OPERAND = 23h After instruction: W = 88h, OPERAND = 88h NOP No Operation Syntax NOP Operation No Operation Flag Affected None Description No operation. NOP is used for one instruction cycle delay. Cycle 1 RETFIE Return from Interrupt Syntax RETFIE Operation [Top Stack] => PC Pop Stack 1 => GIE Flag Affected None Description The program counter is loaded from the top stack, then pop stack. Setting the GIE bit enables interrupts. Cycle 2 Example: RETFIE After instruction: PC = [Top Stack] GIE = 1 RETLW Return and move literal to W Syntax RETLW k 0 ≤ k ≤ FFh Operation [W] ← k [Top Stack] => PC Pop Stack Flag Affected None Description Move the eight-bit literal "k" to the content of the W register. The program counter is loaded from the top stack, then pop stack. Cycle 2 Example: CALL TABLE : TABLE ADDWF PC RETLW k0 RETLW k1 : RETLW kn Before instruction: WREG = 0x07 After instruction: WREG = value of k7 Return Return from Subroutine Syntax RETURN Operation [Top Stack] => PC Pop Stack Flag Affected None Description The program counter is loaded from the top stack, then pop stack. Cycle 2 Example: Return After instruction: PC = [Top Stack] RLF Rotate left [f] through Carry Syntax RLF f, d 0 ≤ f ≤ FFh d ∈ [0,1] Operation [Destination<n+1>] ← [f<n>] [Destination<0>] ← C C ← [f<7>] Flag Affected C, Z Description [f] is rotated one bit to the left through the Carry bit. 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: RLF OPERAND, 1 Before instruction: C = 0 W = 88h, OPERAND = E6h After instruction: C = 1 W = 88h, OPERAND = CCh |
|
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 |