Skip to content

Commit

Permalink
Fix a few typos
Browse files Browse the repository at this point in the history
[skip ci]

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from #2571)
  • Loading branch information
FdaSilvaYY authored and Rich Salz committed Feb 14, 2017
1 parent 7c12035 commit 7e12cdb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions crypto/perlasm/README
Expand Up @@ -7,7 +7,7 @@ and then include it.
push(@INC,"perlasm","../../perlasm");
require "x86asm.pl";

The first thing we do is setup the file and type of assember
The first thing we do is setup the file and type of assembler

&asm_init($ARGV[0],$0);

Expand All @@ -18,7 +18,7 @@ Argument 2 is the file name.
The reciprocal function is
&asm_finish() which should be called at the end.

There are 2 main 'packages'. x86ms.pl, which is the microsoft assembler,
There are 2 main 'packages'. x86ms.pl, which is the Microsoft assembler,
and x86unix.pl which is the unix (gas) version.

Functions of interest are:
Expand All @@ -32,7 +32,7 @@ Functions of interest are:
&function_begin(name,extra) Start a function with pushing of
edi, esi, ebx and ebp. extra is extra win32
external info that may be required.
&function_begin_B(name,extra) Same as norma function_begin but no pushing.
&function_begin_B(name,extra) Same as normal function_begin but no pushing.
&function_end(name) Call at end of function.
&function_end_A(name) Standard pop and ret, for use inside functions
&function_end_B(name) Call at end but with poping or 'ret'.
Expand Down
4 changes: 2 additions & 2 deletions crypto/perlasm/x86_64-xlate.pl
Expand Up @@ -437,7 +437,7 @@
}
}
}
{ package expr; # pick up expressioins
{ package expr; # pick up expressions
sub re {
my ($class, $line, $opcode) = @_;
my $self = {};
Expand Down Expand Up @@ -1245,7 +1245,7 @@ sub rxb {
# the area above user stack pointer in true asynchronous manner...
#
# All the above means that if assembler programmer adheres to Unix
# register and stack layout, but disregards the "red zone" existense,
# register and stack layout, but disregards the "red zone" existence,
# it's possible to use following prologue and epilogue to "gear" from
# Unix to Win64 ABI in leaf functions with not more than 6 arguments.
#
Expand Down

0 comments on commit 7e12cdb

Please sign in to comment.