summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2011-07-14 20:38:45 +0400
committerIgor Pashev <pashev.igor@gmail.com>2011-07-14 20:38:45 +0400
commitd6d81c2881ce329af81d02d44c9c9b0a2c17ed6e (patch)
tree0b044443be981f6e5b9ba7d81210f8e9f85e2a0b
parent42375e421f14e478b965a39c2be204e1c511d9fa (diff)
downloadgcd-d6d81c2881ce329af81d02d44c9c9b0a2c17ed6e.tar.gz
gcd-x86-solaris.s typos: linux -> solaris
-rw-r--r--assembler/gcd-x86-solaris.s20
1 files changed, 10 insertions, 10 deletions
diff --git a/assembler/gcd-x86-solaris.s b/assembler/gcd-x86-solaris.s
index 6daecd2..dbdc12a 100644
--- a/assembler/gcd-x86-solaris.s
+++ b/assembler/gcd-x86-solaris.s
@@ -1,20 +1,20 @@
-# This program is for Linux on Intel x86 arch (32 bits).
+# This program is for Solaris 11 on Intel x86 arch (32 bits).
# Written for GNU Assembler (as) with AT&T syntax
# To make an executable binary:
-# gcc -nostdlib gcd-x86-linux.s -o gcd-x86-linux
+# gcc -nostdlib gcd-x86-solaris.s -o gcd-x86-solaris
# or
-# as gcd-x86-linux.s -o gcd-x86-linux.o && \
-# ld gcd-x86-linux.o -o gcd-x86-linux
+# as gcd-x86-solaris.s -o gcd-x86-solaris.o && \
+# ld gcd-x86-solaris.o -o gcd-x86-solaris
# On 64 bits system:
-# gcc -m32 -nostdlib gcd-x86-linux.s -o gcd-x86-linux
+# gcc -m32 -nostdlib gcd-x86-solaris.s -o gcd-x86-solaris
# or
-# as --32 gcd-x86-linux.s -o gcd-x86-linux.o && \
-# ld -melf_i386 gcd-x86-linux.o -o gcd-x86-linux
+# as --32 gcd-x86-solaris.s -o gcd-x86-solaris.o && \
+# ld -melf_i386 gcd-x86-solaris.o -o gcd-x86-solaris
#
# To run:
-# ./gcd-x86-linux 11 22 33 121 792
+# ./gcd-x86-solaris 11 22 33 121 792
# (output should be 11)
@@ -113,9 +113,9 @@ _start:
# Access command line, see:
# http://www.cin.ufpe.br/~if817/arquivos/asmtut/index.html
- # Example: ./gcd-x86-linux 11 22 33
+ # Example: ./gcd-x86-solaris 11 22 33
pop %ecx # Get the number of command-line options (4)
- pop %esi # Get the pointer to the program name (./gcd-x86-linux),
+ pop %esi # Get the pointer to the program name (./gcd-x86-solaris),
dec %ecx # minus program name
jz exit # no arguments are given - exiting