B-14
INSTRUCTION FORMATS AND ENCODINGS
RCL Rotate thru Carry Left
register by 1
1101 000w : 11 010 reg
memory by 1
1101 000w : mod 010 r/m
register by CL
1101 001w : 11 010 reg
memory by CL
1101 001w : mod 010 r/m
register by immediate count
1100 000w : 11 010 reg : imm8 data
memory by immediate count
1100 000w : mod 010 r/m : imm8 data
RCR Rotate thru Carry Right
register by 1
1101 000w : 11 011 reg
memory by 1
1101 000w : mod 011 r/m
register by CL
1101 001w : 11 011 reg
memory by CL
1101 001w : mod 011 r/m
register by immediate count
1100 000w : 11 011 reg : imm8 data
memory by immediate count
1100 000w : mod 011 r/m : imm8 data
RDMSR Read from Model-Specific Register0000 1111 : 0011 0010
RDPMC Read Performance Monitoring
Counters
0000 1111 : 0011 0011
RDTSC Read Time-Stamp Counter
0000 1111 : 0011 0001
REP INS Input String
1111 0011 : 0110 110w
REP LODS Load String
1111 0011 : 1010 110w
REP MOVS Move String
1111 0011 : 1010 010w
REP OUTS Output String
1111 0011 : 0110 111w
REP STOS Store String
1111 0011 : 1010 101w
REPE CMPS Compare String
1111 0011 : 1010 011w
REPE SCAS Scan String
1111 0011 : 1010 111w
REPNE CMPS Compare String
1111 0010 : 1010 011w
REPNE SCAS Scan String
1111 0010 : 1010 111w
RET Return from Procedure (to same segment)
no argument
1100 0011
adding immediate to SP
1100 0010 : 16-bit displacement
RET Return from Procedure (to other segment)
intersegment
1100 1011
adding immediate to SP
1100 1010 : 16-bit displacement
Table B-10. Integer Instruction Formats and Encodings (Contd.)
Instruction and Format
Encoding