MCP1726T-ADJZEMF Microchip Technology, MCP1726T-ADJZEMF Datasheet - Page 109

no-image

MCP1726T-ADJZEMF

Manufacturer Part Number
MCP1726T-ADJZEMF
Description
Regulator, Extended Industrial, HVSON, 8-Pin|
Manufacturer
Microchip Technology
Datasheet
RETLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
TABLE
RETURN
Syntax:
Operands:
Operation:
Status Affected:
Description:
 2003 Microchip Technology Inc.
Return from Subroutine
[ label ]
None
TOS
None
Return from subroutine. The stack
is POPed and the top of the stack
(TOS) is loaded into the program
counter. This is a two-cycle
instruction.
Return with Literal in W
[ label ]
0
k
TOS
None
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.
1
2
CALL TABLE;W contains
table
ADDWF PC
RETLW k1
RETLW k2
RETLW kn
Before Instruction
After Instruction
11
k
(W);
255
;offset value
PC
PC
;W now has table value
W
W
RETURN
RETLW k
01xx
;
;Begin table
; End of table
=
=
;W = offset
0x07
value of k8
kkkk
Advance Information
kkkk
RLF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
RRF
Syntax:
Operands:
Operation:
Status Affected:
Description:
Rotate Right f through Carry
[ label ]
0
d
See description below
C
The contents of register 'f' are
rotated one bit to the right through
the Carry Flag. If ‘d’ is 0, the result
is placed in the W register. If ‘d’ is
1, the result is placed back in
register ‘f’.
Rotate Left f through Carry
[ label ]
0
d
See description below
C
The contents of register ‘f’ are
rotated one bit to the left through
the Carry Flag. If ‘d’ is 0, the result
is placed in the W register. If ‘d’ is
1, the result is stored back in
register ‘f’.
1
1
Before Instruction
After Instruction
00
RLF
f
[0,1]
f
[0,1]
127
PIC12F683
C
127
C
RRF f,d
REG1
C
REG1
W
C
RLF
1101
REG1,0
DS41211A-page 107
Register f
Register f
f,d
=
=
=
=
=
dfff
1110 0110
0
1110 0110
1100 1100
1
ffff

Related parts for MCP1726T-ADJZEMF