Skip to content

Commit 49c553a

Browse files
committed
Add apology
1 parent 13625d9 commit 49c553a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ int main(int argc, char** argv) {
5656
}
5757
}
5858

59+
// I'm sorry for this code...it's really janky, but it does the job.
60+
// See Appendix B.9 Miscellaneous Mnemonics in this PDF:
61+
// https://arcb.csc.ncsu.edu/~mueller/cluster/ps3/SDK3.0/docs/arch/PPC_Vers202_Book1_public.pdf
5962
if (line.find("\tla ") == 0) {
6063
// Replace "la" with "addi"
6164
line.replace(0, 3, "\taddi");

0 commit comments

Comments
 (0)