Debug on SWI support
[riscose.git] / tests / armas.in
blob705df22cd4568b6e9f1453e94ef7ad111223bd95
1 #! @BINAWK@ -f
3 BEGIN {
4     for (i = 0; i < 16; i++) {
5         t[sprintf("%x", i)] = i
6     }
10     for (o = 7; o >= 1; o -= 2) {
11         h = substr($2, o, 1)
12         l = substr($2, o + 1, 1)
13         printf "%c", t[h] * 16 + t[l];
14     }