aboutsummaryrefslogtreecommitdiff
path: root/crypto/perlasm/x86masm.pl
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/perlasm/x86masm.pl')
-rwxr-xr-xcrypto/perlasm/x86masm.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/perlasm/x86masm.pl b/crypto/perlasm/x86masm.pl
index 96b1b73e1a3a..f937d07c87df 100755
--- a/crypto/perlasm/x86masm.pl
+++ b/crypto/perlasm/x86masm.pl
@@ -33,6 +33,7 @@ sub ::generic
sub ::call { &::emit("call",(&::islabel($_[0]) or "$nmdecor$_[0]")); }
sub ::call_ptr { &::emit("call",@_); }
sub ::jmp_ptr { &::emit("jmp",@_); }
+sub ::lock { &::data_byte(0xf0); }
sub get_mem
{ my($size,$addr,$reg1,$reg2,$idx)=@_;