| Electronic Components Datasheet Search |
|
PIC16C5X Datasheet(PDF) 56 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16C5X Datasheet(HTML) 56 Page - Microchip Technology |
|
56 / 192 page ![]() PIC16C5X DS30453E-page 56 Preliminary 1997-2013 Microchip Technology Inc. IORLW Inclusive OR literal with W Syntax: [ label ] IORLW k Operands: 0 k 255 Operation: (W) .OR. (k) (W) Status Affected: Z Encoding: 1101 kkkk kkkk Description: The contents of the W register are OR’ed with the eight bit literal 'k'. The result is placed in the W regis- ter. Words: 1 Cycles: 1 Example: IORLW 0x35 Before Instruction W= 0x9A After Instruction W= 0xBF Z= 0 IORWF Inclusive OR W with f Syntax: [ label ] IORWF f,d Operands: 0 f 31 d [0,1] Operation: (W).OR. (f) (dest) Status Affected: Z Encoding: 0001 00df ffff Description: Inclusive OR the W register with register 'f'. If 'd' is 0 the result is placed in the W register. If 'd' is 1 the result is placed back in register 'f'. Words: 1 Cycles: 1 Example: IORWF RESULT, 0 Before Instruction RESULT = 0x13 W = 0x91 After Instruction RESULT = 0x13 W = 0x93 Z= 0 MOVF Move f Syntax: [ label ] MOVF f,d Operands: 0 f 31 d [0,1] Operation: (f) (dest) Status Affected: Z Encoding: 0010 00df ffff Description: The contents of register 'f' is moved to destination 'd'. If 'd' is 0, destination is the W register. If 'd' is 1, the destination is file register 'f'. 'd' is 1 is useful to test a file register since status flag Z is affected. Words: 1 Cycles: 1 Example: MOVF FSR, 0 After Instruction W = value in FSR register MOVLW Move Literal to W Syntax: [ label ] MOVLW k Operands: 0 k 255 Operation: k (W) Status Affected: None Encoding: 1100 kkkk kkkk Description: The eight bit literal 'k' is loaded into the W register. Words: 1 Cycles: 1 Example: MOVLW 0x5A After Instruction W = 0x5A |
|
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 |