Lines Matching refs:op
165 $self->{op} = $1;
170 if ($self->{op} =~ /^(movz)x?([bw]).*/) { # movz is pain...
171 $self->{op} = $1;
173 } elsif ($self->{op} =~ /call|jmp/) {
175 } elsif ($self->{op} =~ /^p/ && $' !~ /^(ush|op|insrw)/) { # SSEn
177 } elsif ($self->{op} =~ /^[vk]/) { # VEX or k* such as kmov
179 } elsif ($self->{op} =~ /mov[dq]/ && $$line =~ /%xmm/) {
181 } elsif ($self->{op} =~ /([a-z]{3,})([qlwb])$/) {
182 $self->{op} = $1;
196 if ($self->{op} eq "movz") { # movz is pain...
197 sprintf "%s%s%s",$self->{op},$self->{sz},shift;
198 } elsif ($self->{op} =~ /^set/) {
200 } elsif ($self->{op} eq "ret") {
207 } elsif ($self->{op} eq "call" && !$elf && $current_segment eq ".init") {
213 $self->{op} =~ s/^movz/movzx/;
214 if ($self->{op} eq "ret") {
215 $self->{op} = "";
217 $self->{op} = "mov rdi,QWORD$PTR\[8+rsp\]\t;WIN64 epilogue\n\t".
220 $self->{op} .= "DB\t0F3h,0C3h\t\t;repret";
221 } elsif ($self->{op} =~ /^(pop|push)f/) {
222 $self->{op} .= $self->{sz};
223 } elsif ($self->{op} eq "call" && $current_segment eq ".CRT\$XCU") {
224 $self->{op} = "\tDQ";
226 $self->{op};
230 my ($self, $op) = @_;
231 $self->{op}=$op if (defined($op));
232 $self->{op};