Blame view

scripts/process_disasm.sh 291 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

PROGRAM="$1"

sed -i "s/32768/r0/g" "$PROGRAM"
sed -i "s/32769/r1/g" "$PROGRAM"
sed -i "s/32770/r2/g" "$PROGRAM"
sed -i "s/32771/r3/g" "$PROGRAM"
sed -i "s/32772/r4/g" "$PROGRAM"
sed -i "s/32773/r5/g" "$PROGRAM"
sed -i "s/32774/r6/g" "$PROGRAM"
sed -i "s/32775/r7/g" "$PROGRAM"