Quelltext /~heha/basteln/Haus/Telefon/Mithören-ISDN/Firmware.zip/hunz@mikrocontroller.net/alaw.S

.section .text.1
.global ALAW
.type ALAW,@object
ALAW:
#define LUT_MAXVAL 500
.word 207,209,203,205,215,217,211,213
.word 192,193,188,190,199,201,195,197
.word 229,230,227,228,233,234,231,232
.word 221,222,219,220,225,226,223,224
.word  79, 87, 64, 71,111,119, 95,103
.word  16, 24,  0,  8, 48, 56, 32, 40
.word 165,169,157,161,181,185,173,177
.word 133,137,125,129,149,153,141,145
.word 247,248,247,247,248,248,248,248
.word 246,247,246,246,247,247,247,247
.word 249,249,249,249,250,250,250,250
.word 248,248,248,248,249,249,249,249
.word 239,240,238,239,241,242,240,241
.word 235,236,234,235,237,238,236,237
.word 245,245,244,244,246,246,245,245
.word 243,243,242,242,244,244,243,243
.word 293,291,297,295,285,283,289,287
.word 309,307,313,311,301,299,297,295
.word 271,270,273,272,267,266,269,268
.word 279,278,281,280,275,274,277,276
.word 421,413,437,429,389,381,405,397
.word 484,476,500,492,452,445,468,460
.word 335,331,343,339,320,316,327,323
.word 367,363,375,371,351,347,359,355
.word 253,253,253,253,252,252,252,252
.word 254,254,254,254,253,253,253,253
.word 251,251,251,251,250,250,250,250
.word 252,252,252,252,251,251,251,251
.word 261,260,262,261,259,258,260,259
.word 265,264,266,265,263,262,264,263
.word 255,255,256,256,254,254,255,255
.word 257,257,258,258,256,256,257,257
Vorgefundene Kodierung: ASCII (7 bit)2