| Os motores de busca de Datasheet de Componentes eletrônicos |
|
PIC16F5X Folha de dados(PDF) 51 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16F5X Folha de dados(HTML) 51 Page - Microchip Technology |
|
51 / 88 page ![]() © 2007 Microchip Technology Inc. DS41213D-page 49 PIC16F5X MOVWF Move W to f Syntax: [ label ] MOVWF f Operands: 0 ≤ f ≤ 31 Operation: (W) → (f) Status Affected: None Encoding: 0000 001f ffff Description: Move data from the W register to register ‘f’. Words: 1 Cycles: 1 Example: MOVWF TEMP_REG Before Instruction TEMP_REG = 0xFF W = 0x4F After Instruction TEMP_REG = 0x4F W = 0x4F NOP No Operation Syntax: [ label ] NOP Operands: None Operation: No operation Status Affected: None Encoding: 0000 0000 0000 Description: No operation. Words: 1 Cycles: 1 Example: NOP OPTION Load OPTION Register Syntax: [ label ] OPTION Operands: None Operation: (W) → OPTION Status Affected: None Encoding: 0000 0000 0010 Description: The content of the W register is loaded into the Option register. Words: 1 Cycles: 1 Example: OPTION Before Instruction W = 0x07 After Instruction OPTION = 0x07 RETLW Return with Literal in W Syntax: [ label ] RETLW k Operands: 0 ≤ k ≤ 255 Operation: k → (W); TOS → PC Status Affected: None Encoding: 1000 kkkk kkkk Description: The W register is loaded with the eight-bit literal ‘k’. The program counter is loaded from the top of the stack (the return address). This is a two-cycle instruction. Words: 1 Cycles: 2 Example: TABLE CALL TABLE;W contains ;table offset ;value. • ;W now has table • ;value. • ADDWF PC ;W = offset RETLW k1 ;Begin table RETLW k2 ; • • • RETLW kn ; End of table Before Instruction W= 0x07 After Instruction W = value of k8 |
|
Ligação URL |
| ALLDATASHEET é útil para você? [ DONATE ] |
Sobre Alldatasheet | Publicidade | Contato conosco | Privacy Policy | Link para a ficha técnica | roca de Link | Lista de Fabricantes 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 |