Added sample output
authorHansjürg Wenger <wgh1@bfh.ch>
Tue, 22 Nov 2016 15:30:38 +0000 (16:30 +0100)
committerHansjürg Wenger <wgh1@bfh.ch>
Tue, 22 Nov 2016 15:30:38 +0000 (16:30 +0100)
be-sample-out.txt [new file with mode: 0644]
le-sample-out.txt [new file with mode: 0644]

diff --git a/be-sample-out.txt b/be-sample-out.txt
new file mode 100644 (file)
index 0000000..8ec404a
--- /dev/null
@@ -0,0 +1,19 @@
+$ uname -a
+HP-UX - B.11.31 U ia64
+$ ./ntest
+Wert von tv, dec: 439041101 hex: 1A2B3C4D
+Anzahl belegte Bytes von tv: 4
+Basisadresse tv: 7ffff270 = Basisadresse b: 7ffff270
+
+Byte 3: 7ffff273: 4D
+Byte 2: 7ffff272: 3C
+Byte 1: 7ffff271: 2B
+Byte 0: 7ffff270: 1A
+
+
+Laufe auf einem Big Endian System!
+
+$
diff --git a/le-sample-out.txt b/le-sample-out.txt
new file mode 100644 (file)
index 0000000..f068008
--- /dev/null
@@ -0,0 +1,17 @@
+$ uname -a
+Linux 4.4.0-47-generic SMP x86_64 x86_64 x86_64 GNU/Linux
+$ ./ntest 
+
+Wert von tv, dec: 439041101 hex: 1A2B3C4D
+Anzahl belegte Bytes von tv: 4
+Basisadresse tv: 0x7ffee0c07604 = Basisadresse b: 0x7ffee0c07604
+
+
+Byte 3: 0x7ffee0c07607: 1A
+Byte 2: 0x7ffee0c07606: 2B
+Byte 1: 0x7ffee0c07605: 3C
+Byte 0: 0x7ffee0c07604: 4D
+
+Laufe auf einem Little Endian System!
+
+$