blob: 26d653e5ea3dd444b66ce3421e203b8df6c2345b [file] [log] [blame] [raw]
{
"asm": [
{
"text": "testFunction(double*, double):",
"source": {
"file": null,
"line": 4
},
"labels": []
},
{
"text": " stwu r1,-48(r1) ",
"source": {
"file": null,
"line": 4
},
"labels": []
},
{
"text": " mfspr r0,lr",
"source": {
"file": null,
"line": 4
},
"labels": []
},
{
"text": " stmw r26,24(r1) # offset r1+24 0x18",
"source": {
"file": null,
"line": 4
},
"labels": []
},
{
"text": " stw r0,52(r1)",
"source": {
"file": null,
"line": 4
},
"labels": []
},
{
"text": " mr r31,r3 # input=r31 input=r3",
"source": {
"file": null,
"line": 4
},
"labels": []
},
{
"text": " mr r30,r5",
"source": {
"file": null,
"line": 4
},
"labels": []
},
{
"text": " mr r29,r6",
"source": {
"file": null,
"line": 4
},
"labels": []
},
{
"text": " diab.li r28,0",
"source": {
"file": null,
"line": 5
},
"labels": []
},
{
"text": " diab.li r27,0",
"source": {
"file": null,
"line": 5
},
"labels": []
},
{
"text": " diab.li r26,0 # i=r26",
"source": {
"file": null,
"line": 6
},
"labels": []
},
{
"text": ".L42:",
"source": null,
"labels": []
},
{
"text": " mr r3,r26 # i=r3 i=r26",
"source": {
"file": null,
"line": 6
},
"labels": []
},
{
"text": " bl _d_itod",
"source": {
"file": null,
"line": 6
},
"labels": []
},
{
"text": " mr r6,r29",
"source": {
"file": null,
"line": 6
},
"labels": []
},
{
"text": " mr r5,r30",
"source": {
"file": null,
"line": 6
},
"labels": []
},
{
"text": " bl _d_fge",
"source": {
"file": null,
"line": 6
},
"labels": []
},
{
"text": " extsb. r0,r3 # i=r3",
"source": {
"file": null,
"line": 6
},
"labels": []
},
{
"text": " bc 4,2,.L44 # ne cr0",
"source": {
"file": null,
"line": 6
},
"labels": [
{
"name": ".L44",
"range": {
"startCol": 25,
"endCol": 29
}
}
]
},
{
"text": " rlwinm r0,r26,3,0,28 # i=r26",
"source": {
"file": null,
"line": 7
},
"labels": []
},
{
"text": " add r3,r31,r0 # i=r3 input=r31",
"source": {
"file": null,
"line": 7
},
"labels": []
},
{
"text": " lwzx r5,r31,r0 # input=r31",
"source": {
"file": null,
"line": 7
},
"labels": []
},
{
"text": " lwz r6,4(r3) # i=r3",
"source": {
"file": null,
"line": 7
},
"labels": []
},
{
"text": " mr r4,r27",
"source": {
"file": null,
"line": 7
},
"labels": []
},
{
"text": " mr r3,r28 # i=r3",
"source": {
"file": null,
"line": 7
},
"labels": []
},
{
"text": " bl _d_add",
"source": {
"file": null,
"line": 7
},
"labels": []
},
{
"text": " mr r27,r4",
"source": {
"file": null,
"line": 7
},
"labels": []
},
{
"text": " mr r28,r3 # i=r28",
"source": {
"file": null,
"line": 7
},
"labels": []
},
{
"text": " addi r26,r26,1 # i=r26 i=r26",
"source": {
"file": null,
"line": 8
},
"labels": []
},
{
"text": " b .L42",
"source": {
"file": null,
"line": 8
},
"labels": [
{
"name": ".L42",
"range": {
"startCol": 23,
"endCol": 27
}
}
]
},
{
"text": ".L44:",
"source": null,
"labels": []
},
{
"text": " mr r4,r27",
"source": {
"file": null,
"line": 9
},
"labels": []
},
{
"text": " mr r3,r28 # i=r3",
"source": {
"file": null,
"line": 9
},
"labels": []
},
{
"text": " lmw r26,24(r1) # offset r1+24 0x18",
"source": {
"file": null,
"line": 10
},
"labels": []
},
{
"text": " lwz r0,52(r1)",
"source": {
"file": null,
"line": 10
},
"labels": []
},
{
"text": " mtspr lr,r0",
"source": {
"file": null,
"line": 10
},
"labels": []
},
{
"text": " addi r1,r1,48 ",
"source": {
"file": null,
"line": 10
},
"labels": []
},
{
"text": " blr",
"source": {
"file": null,
"line": 10
},
"labels": []
},
{
"text": "",
"source": null,
"labels": []
},
{
"text": "fibo(int):",
"source": {
"file": null,
"line": 12
},
"labels": []
},
{
"text": " stwu r1,-32(r1) ",
"source": {
"file": null,
"line": 12
},
"labels": []
},
{
"text": " mfspr r0,lr",
"source": {
"file": null,
"line": 12
},
"labels": []
},
{
"text": " stmw r30,24(r1) # offset r1+24 0x18",
"source": {
"file": null,
"line": 12
},
"labels": []
},
{
"text": " stw r0,36(r1)",
"source": {
"file": null,
"line": 12
},
"labels": []
},
{
"text": " mr r31,r3 # n=r31 n=r3",
"source": {
"file": null,
"line": 12
},
"labels": []
},
{
"text": " cmpi 0,0,r3,1 # n=r3",
"source": {
"file": null,
"line": 14
},
"labels": []
},
{
"text": " bc 12,1,.L46 # gt cr0",
"source": {
"file": null,
"line": 14
},
"labels": [
{
"name": ".L46",
"range": {
"startCol": 26,
"endCol": 30
}
}
]
},
{
"text": " b .L45",
"source": {
"file": null,
"line": 15
},
"labels": [
{
"name": ".L45",
"range": {
"startCol": 23,
"endCol": 27
}
}
]
},
{
"text": ".L46:",
"source": null,
"labels": []
},
{
"text": " addi r3,r3,-1 # n=r3 n=r3",
"source": {
"file": null,
"line": 16
},
"labels": []
},
{
"text": " bl fibo(int)",
"source": {
"file": null,
"line": 16
},
"labels": []
},
{
"text": " mr r30,r3 # n=r30",
"source": {
"file": null,
"line": 16
},
"labels": []
},
{
"text": " addi r3,r31,-2 # n=r3 n=r31",
"source": {
"file": null,
"line": 16
},
"labels": []
},
{
"text": " bl fibo(int)",
"source": {
"file": null,
"line": 16
},
"labels": []
},
{
"text": " add r3,r3,r30 # n=r3 n=r3 n=r30",
"source": {
"file": null,
"line": 16
},
"labels": []
},
{
"text": ".L45:",
"source": null,
"labels": []
},
{
"text": " lmw r30,24(r1) # offset r1+24 0x18",
"source": {
"file": null,
"line": 17
},
"labels": []
},
{
"text": " lwz r0,36(r1)",
"source": {
"file": null,
"line": 17
},
"labels": []
},
{
"text": " mtspr lr,r0",
"source": {
"file": null,
"line": 17
},
"labels": []
},
{
"text": " addi r1,r1,32 ",
"source": {
"file": null,
"line": 17
},
"labels": []
},
{
"text": " blr",
"source": {
"file": null,
"line": 17
},
"labels": []
},
{
"text": "",
"source": null,
"labels": []
},
{
"text": "fizz_buzz():",
"source": {
"file": null,
"line": 19
},
"labels": []
},
{
"text": " stwu r1,-32(r1) ",
"source": {
"file": null,
"line": 19
},
"labels": []
},
{
"text": " mfspr r0,lr",
"source": {
"file": null,
"line": 19
},
"labels": []
},
{
"text": " stw r31,28(r1) # offset r1+28 0x1c",
"source": {
"file": null,
"line": 19
},
"labels": []
},
{
"text": " stw r0,36(r1)",
"source": {
"file": null,
"line": 19
},
"labels": []
},
{
"text": " diab.li r31,1 # i=r31",
"source": {
"file": null,
"line": 22
},
"labels": []
},
{
"text": ".L48:",
"source": null,
"labels": []
},
{
"text": " cmpi 0,0,r31,100 # i=r31",
"source": {
"file": null,
"line": 22
},
"labels": []
},
{
"text": " bc 12,1,.L50 # gt cr0",
"source": {
"file": null,
"line": 22
},
"labels": [
{
"name": ".L50",
"range": {
"startCol": 26,
"endCol": 30
}
}
]
},
{
"text": " lis r0,21845",
"source": {
"file": null,
"line": 24
},
"labels": []
},
{
"text": " ori r0,r0,21846",
"source": {
"file": null,
"line": 24
},
"labels": []
},
{
"text": " mulhw r0,r0,r31 # i=r31",
"source": {
"file": null,
"line": 24
},
"labels": []
},
{
"text": " srawi r3,r31,31 # i=r31",
"source": {
"file": null,
"line": 24
},
"labels": []
},
{
"text": " subf r0,r3,r0",
"source": {
"file": null,
"line": 24
},
"labels": []
},
{
"text": " add r3,r0,r0",
"source": {
"file": null,
"line": 24
},
"labels": []
},
{
"text": " add r0,r0,r3",
"source": {
"file": null,
"line": 24
},
"labels": []
},
{
"text": " subf. r0,r0,r31 # i=?a4",
"source": {
"file": null,
"line": 24
},
"labels": []
},
{
"text": " bc 4,2,.L51 # ne cr0",
"source": {
"file": null,
"line": 24
},
"labels": [
{
"name": ".L51",
"range": {
"startCol": 25,
"endCol": 29
}
}
]
},
{
"text": " addis r3,0,.L114@ha",
"source": {
"file": null,
"line": 25
},
"labels": [
{
"name": ".L114",
"range": {
"startCol": 28,
"endCol": 33
}
}
]
},
{
"text": " addi r3,r3,.L114@l",
"source": {
"file": null,
"line": 25
},
"labels": [
{
"name": ".L114",
"range": {
"startCol": 31,
"endCol": 36
}
}
]
},
{
"text": " bl printf",
"source": {
"file": null,
"line": 25
},
"labels": []
},
{
"text": ".L51:",
"source": null,
"labels": []
},
{
"text": " lis r0,26214",
"source": {
"file": null,
"line": 26
},
"labels": []
},
{
"text": " ori r0,r0,26215",
"source": {
"file": null,
"line": 26
},
"labels": []
},
{
"text": " mulhw r0,r0,r31 # i=r31",
"source": {
"file": null,
"line": 26
},
"labels": []
},
{
"text": " srawi r0,r0,1",
"source": {
"file": null,
"line": 26
},
"labels": []
},
{
"text": " srawi r3,r31,31 # i=r31",
"source": {
"file": null,
"line": 26
},
"labels": []
},
{
"text": " subf r0,r3,r0",
"source": {
"file": null,
"line": 26
},
"labels": []
},
{
"text": " rlwinm r3,r0,2,0,29",
"source": {
"file": null,
"line": 26
},
"labels": []
},
{
"text": " add r0,r0,r3",
"source": {
"file": null,
"line": 26
},
"labels": []
},
{
"text": " subf. r0,r0,r31 # i=?a4",
"source": {
"file": null,
"line": 26
},
"labels": []
},
{
"text": " bc 4,2,.L52 # ne cr0",
"source": {
"file": null,
"line": 26
},
"labels": [
{
"name": ".L52",
"range": {
"startCol": 25,
"endCol": 29
}
}
]
},
{
"text": " addis r3,0,.L115@ha",
"source": {
"file": null,
"line": 27
},
"labels": [
{
"name": ".L115",
"range": {
"startCol": 28,
"endCol": 33
}
}
]
},
{
"text": " addi r3,r3,.L115@l",
"source": {
"file": null,
"line": 27
},
"labels": [
{
"name": ".L115",
"range": {
"startCol": 31,
"endCol": 36
}
}
]
},
{
"text": " bl printf",
"source": {
"file": null,
"line": 27
},
"labels": []
},
{
"text": ".L52:",
"source": null,
"labels": []
},
{
"text": " lis r0,21845",
"source": {
"file": null,
"line": 28
},
"labels": []
},
{
"text": " ori r0,r0,21846",
"source": {
"file": null,
"line": 28
},
"labels": []
},
{
"text": " mulhw r0,r0,r31 # i=r31",
"source": {
"file": null,
"line": 28
},
"labels": []
},
{
"text": " srawi r3,r31,31 # i=r31",
"source": {
"file": null,
"line": 28
},
"labels": []
},
{
"text": " subf r0,r3,r0",
"source": {
"file": null,
"line": 28
},
"labels": []
},
{
"text": " add r3,r0,r0",
"source": {
"file": null,
"line": 28
},
"labels": []
},
{
"text": " add r0,r0,r3",
"source": {
"file": null,
"line": 28
},
"labels": []
},
{
"text": " subf. r0,r0,r31 # i=?a4",
"source": {
"file": null,
"line": 28
},
"labels": []
},
{
"text": " bc 12,2,.L53 # eq cr0",
"source": {
"file": null,
"line": 28
},
"labels": [
{
"name": ".L53",
"range": {
"startCol": 26,
"endCol": 30
}
}
]
},
{
"text": " lis r0,26214",
"source": {
"file": null,
"line": 28
},
"labels": []
},
{
"text": " ori r0,r0,26215",
"source": {
"file": null,
"line": 28
},
"labels": []
},
{
"text": " mulhw r0,r0,r31 # i=r31",
"source": {
"file": null,
"line": 28
},
"labels": []
},
{
"text": " srawi r0,r0,1",
"source": {
"file": null,
"line": 28
},
"labels": []
},
{
"text": " srawi r3,r31,31 # i=r31",
"source": {
"file": null,
"line": 28
},
"labels": []
},
{
"text": " subf r0,r3,r0",
"source": {
"file": null,
"line": 28
},
"labels": []
},
{
"text": " rlwinm r3,r0,2,0,29",
"source": {
"file": null,
"line": 28
},
"labels": []
},
{
"text": " add r0,r0,r3",
"source": {
"file": null,
"line": 28
},
"labels": []
},
{
"text": " subf. r0,r0,r31 # i=?a4",
"source": {
"file": null,
"line": 28
},
"labels": []
},
{
"text": " bc 12,2,.L53 # eq cr0",
"source": {
"file": null,
"line": 28
},
"labels": [
{
"name": ".L53",
"range": {
"startCol": 26,
"endCol": 30
}
}
]
},
{
"text": " addis r3,0,.L116@ha",
"source": {
"file": null,
"line": 29
},
"labels": [
{
"name": ".L116",
"range": {
"startCol": 28,
"endCol": 33
}
}
]
},
{
"text": " addi r3,r3,.L116@l",
"source": {
"file": null,
"line": 29
},
"labels": [
{
"name": ".L116",
"range": {
"startCol": 31,
"endCol": 36
}
}
]
},
{
"text": " mr r4,r31 # i=r4 i=r31",
"source": {
"file": null,
"line": 29
},
"labels": []
},
{
"text": " bl printf",
"source": {
"file": null,
"line": 29
},
"labels": []
},
{
"text": ".L53:",
"source": null,
"labels": []
},
{
"text": " addis r3,0,.L117@ha",
"source": {
"file": null,
"line": 30
},
"labels": [
{
"name": ".L117",
"range": {
"startCol": 28,
"endCol": 33
}
}
]
},
{
"text": " addi r3,r3,.L117@l",
"source": {
"file": null,
"line": 30
},
"labels": [
{
"name": ".L117",
"range": {
"startCol": 31,
"endCol": 36
}
}
]
},
{
"text": " bl printf",
"source": {
"file": null,
"line": 30
},
"labels": []
},
{
"text": " addi r31,r31,1 # i=r31 i=r31",
"source": {
"file": null,
"line": 31
},
"labels": []
},
{
"text": " b .L48",
"source": {
"file": null,
"line": 31
},
"labels": [
{
"name": ".L48",
"range": {
"startCol": 23,
"endCol": 27
}
}
]
},
{
"text": ".L50:",
"source": null,
"labels": []
},
{
"text": " diab.li r3,0",
"source": {
"file": null,
"line": 33
},
"labels": []
},
{
"text": " lwz r31,28(r1) # offset r1+28 0x1c",
"source": {
"file": null,
"line": 34
},
"labels": []
},
{
"text": " lwz r0,36(r1)",
"source": {
"file": null,
"line": 34
},
"labels": []
},
{
"text": " mtspr lr,r0",
"source": {
"file": null,
"line": 34
},
"labels": []
},
{
"text": " addi r1,r1,32 ",
"source": {
"file": null,
"line": 34
},
"labels": []
},
{
"text": " blr",
"source": {
"file": null,
"line": 34
},
"labels": []
},
{
"text": "",
"source": null,
"labels": []
},
{
"text": "printEvenNumbers(int):",
"source": {
"file": null,
"line": 37
},
"labels": []
},
{
"text": " stwu r1,-32(r1) ",
"source": {
"file": null,
"line": 37
},
"labels": []
},
{
"text": " mfspr r0,lr",
"source": {
"file": null,
"line": 37
},
"labels": []
},
{
"text": " stmw r30,24(r1) # offset r1+24 0x18",
"source": {
"file": null,
"line": 37
},
"labels": []
},
{
"text": " stw r0,36(r1)",
"source": {
"file": null,
"line": 37
},
"labels": []
},
{
"text": " mr r31,r3 # N=r31 N=r3",
"source": {
"file": null,
"line": 37
},
"labels": []
},
{
"text": " diab.li r30,1 # i=r30",
"source": {
"file": null,
"line": 39
},
"labels": []
},
{
"text": ".L55:",
"source": null,
"labels": []
},
{
"text": " rlwinm r0,r31,1,0,30 # N=r31",
"source": {
"file": null,
"line": 39
},
"labels": []
},
{
"text": " cmp 0,0,r0,r30 # i=r30",
"source": {
"file": null,
"line": 39
},
"labels": []
},
{
"text": " bc 12,0,.L54 # lt cr0",
"source": {
"file": null,
"line": 39
},
"labels": [
{
"name": ".L54",
"range": {
"startCol": 26,
"endCol": 30
}
}
]
},
{
"text": " srawi r0,r30,1 # i=r30",
"source": {
"file": null,
"line": 42
},
"labels": []
},
{
"text": " addze r0,r0",
"source": {
"file": null,
"line": 42
},
"labels": []
},
{
"text": " add r0,r0,r0",
"source": {
"file": null,
"line": 42
},
"labels": []
},
{
"text": " subf. r0,r0,r30 # i=?a5",
"source": {
"file": null,
"line": 42
},
"labels": []
},
{
"text": " bc 4,2,.L58 # ne cr0",
"source": {
"file": null,
"line": 42
},
"labels": [
{
"name": ".L58",
"range": {
"startCol": 25,
"endCol": 29
}
}
]
},
{
"text": " addis r3,0,.L131@ha",
"source": {
"file": null,
"line": 43
},
"labels": [
{
"name": ".L131",
"range": {
"startCol": 28,
"endCol": 33
}
}
]
},
{
"text": " addi r3,r3,.L131@l",
"source": {
"file": null,
"line": 43
},
"labels": [
{
"name": ".L131",
"range": {
"startCol": 31,
"endCol": 36
}
}
]
},
{
"text": " mr r4,r30 # i=r4 i=r30",
"source": {
"file": null,
"line": 43
},
"labels": []
},
{
"text": " bl printf",
"source": {
"file": null,
"line": 43
},
"labels": []
},
{
"text": ".L58:",
"source": null,
"labels": []
},
{
"text": " addi r30,r30,1 # i=r30 i=r30",
"source": {
"file": null,
"line": 44
},
"labels": []
},
{
"text": " b .L55",
"source": {
"file": null,
"line": 44
},
"labels": [
{
"name": ".L55",
"range": {
"startCol": 23,
"endCol": 27
}
}
]
},
{
"text": ".L54:",
"source": null,
"labels": []
},
{
"text": " lmw r30,24(r1) # offset r1+24 0x18",
"source": {
"file": null,
"line": 45
},
"labels": []
},
{
"text": " lwz r0,36(r1)",
"source": {
"file": null,
"line": 45
},
"labels": []
},
{
"text": " mtspr lr,r0",
"source": {
"file": null,
"line": 45
},
"labels": []
},
{
"text": " addi r1,r1,32 ",
"source": {
"file": null,
"line": 45
},
"labels": []
},
{
"text": " blr",
"source": {
"file": null,
"line": 45
},
"labels": []
},
{
"text": "",
"source": null,
"labels": []
},
{
"text": "printOddNumbers(int):",
"source": {
"file": null,
"line": 48
},
"labels": []
},
{
"text": " stwu r1,-32(r1) ",
"source": {
"file": null,
"line": 48
},
"labels": []
},
{
"text": " mfspr r0,lr",
"source": {
"file": null,
"line": 48
},
"labels": []
},
{
"text": " stmw r30,24(r1) # offset r1+24 0x18",
"source": {
"file": null,
"line": 48
},
"labels": []
},
{
"text": " stw r0,36(r1)",
"source": {
"file": null,
"line": 48
},
"labels": []
},
{
"text": " mr r31,r3 # N=r31 N=r3",
"source": {
"file": null,
"line": 48
},
"labels": []
},
{
"text": " diab.li r30,1 # i=r30",
"source": {
"file": null,
"line": 50
},
"labels": []
},
{
"text": ".L60:",
"source": null,
"labels": []
},
{
"text": " rlwinm r0,r31,1,0,30 # N=r31",
"source": {
"file": null,
"line": 50
},
"labels": []
},
{
"text": " cmp 0,0,r0,r30 # i=r30",
"source": {
"file": null,
"line": 50
},
"labels": []
},
{
"text": " bc 12,0,.L59 # lt cr0",
"source": {
"file": null,
"line": 50
},
"labels": [
{
"name": ".L59",
"range": {
"startCol": 26,
"endCol": 30
}
}
]
},
{
"text": " srawi r0,r30,1 # i=r30",
"source": {
"file": null,
"line": 53
},
"labels": []
},
{
"text": " addze r0,r0",
"source": {
"file": null,
"line": 53
},
"labels": []
},
{
"text": " add r0,r0,r0",
"source": {
"file": null,
"line": 53
},
"labels": []
},
{
"text": " subf. r0,r0,r30 # i=?a5",
"source": {
"file": null,
"line": 53
},
"labels": []
},
{
"text": " bc 12,2,.L63 # eq cr0",
"source": {
"file": null,
"line": 53
},
"labels": [
{
"name": ".L63",
"range": {
"startCol": 26,
"endCol": 30
}
}
]
},
{
"text": " addis r3,0,.L131@ha",
"source": {
"file": null,
"line": 54
},
"labels": [
{
"name": ".L131",
"range": {
"startCol": 28,
"endCol": 33
}
}
]
},
{
"text": " addi r3,r3,.L131@l",
"source": {
"file": null,
"line": 54
},
"labels": [
{
"name": ".L131",
"range": {
"startCol": 31,
"endCol": 36
}
}
]
},
{
"text": " mr r4,r30 # i=r4 i=r30",
"source": {
"file": null,
"line": 54
},
"labels": []
},
{
"text": " bl printf",
"source": {
"file": null,
"line": 54
},
"labels": []
},
{
"text": ".L63:",
"source": null,
"labels": []
},
{
"text": " addi r30,r30,1 # i=r30 i=r30",
"source": {
"file": null,
"line": 55
},
"labels": []
},
{
"text": " b .L60",
"source": {
"file": null,
"line": 55
},
"labels": [
{
"name": ".L60",
"range": {
"startCol": 23,
"endCol": 27
}
}
]
},
{
"text": ".L59:",
"source": null,
"labels": []
},
{
"text": " lmw r30,24(r1) # offset r1+24 0x18",
"source": {
"file": null,
"line": 56
},
"labels": []
},
{
"text": " lwz r0,36(r1)",
"source": {
"file": null,
"line": 56
},
"labels": []
},
{
"text": " mtspr lr,r0",
"source": {
"file": null,
"line": 56
},
"labels": []
},
{
"text": " addi r1,r1,32 ",
"source": {
"file": null,
"line": 56
},
"labels": []
},
{
"text": " blr",
"source": {
"file": null,
"line": 56
},
"labels": []
},
{
"text": "",
"source": null,
"labels": []
},
{
"text": "tokenizeString():",
"source": {
"file": null,
"line": 58
},
"labels": []
},
{
"text": " stwu r1,-32(r1) ",
"source": {
"file": null,
"line": 58
},
"labels": []
},
{
"text": " mfspr r0,lr",
"source": {
"file": null,
"line": 58
},
"labels": []
},
{
"text": " stw r0,36(r1)",
"source": {
"file": null,
"line": 58
},
"labels": []
},
{
"text": " addis r12,0,.L65@ha",
"source": {
"file": null,
"line": 60
},
"labels": [
{
"name": ".L65",
"range": {
"startCol": 29,
"endCol": 33
}
}
]
},
{
"text": " addi r12,r12,.L65@l",
"source": {
"file": null,
"line": 60
},
"labels": [
{
"name": ".L65",
"range": {
"startCol": 33,
"endCol": 37
}
}
]
},
{
"text": " addi r12,r12,-1",
"source": {
"file": null,
"line": 60
},
"labels": []
},
{
"text": " addi r11,r1,7",
"source": {
"file": null,
"line": 60
},
"labels": []
},
{
"text": " diab.li r10,8",
"source": {
"file": null,
"line": 60
},
"labels": []
},
{
"text": " mtspr ctr,r10",
"source": {
"file": null,
"line": 60
},
"labels": []
},
{
"text": ".L158:",
"source": null,
"labels": []
},
{
"text": " lbzu r9,1(r12)",
"source": {
"file": null,
"line": 60
},
"labels": []
},
{
"text": " lbzu r10,1(r12)",
"source": {
"file": null,
"line": 60
},
"labels": []
},
{
"text": " stbu r9,1(r11)",
"source": {
"file": null,
"line": 60
},
"labels": []
},
{
"text": " stbu r10,1(r11)",
"source": {
"file": null,
"line": 60
},
"labels": []
},
{
"text": " bc 16,0,.L158",
"source": {
"file": null,
"line": 60
},
"labels": [
{
"name": ".L158",
"range": {
"startCol": 26,
"endCol": 31
}
}
]
},
{
"text": " addi r3,r1,8",
"source": {
"file": null,
"line": 63
},
"labels": []
},
{
"text": " addis r4,0,.L159@ha",
"source": {
"file": null,
"line": 63
},
"labels": [
{
"name": ".L159",
"range": {
"startCol": 28,
"endCol": 33
}
}
]
},
{
"text": " addi r4,r4,.L159@l",
"source": {
"file": null,
"line": 63
},
"labels": [
{
"name": ".L159",
"range": {
"startCol": 31,
"endCol": 36
}
}
]
},
{
"text": " bl strtok",
"source": {
"file": null,
"line": 63
},
"labels": []
},
{
"text": " mr r4,r3 # token=r4 token=r3",
"source": {
"file": null,
"line": 63
},
"labels": []
},
{
"text": ".L66:",
"source": null,
"labels": []
},
{
"text": " cmpi 0,0,r3,0 # token=r3",
"source": {
"file": null,
"line": 67
},
"labels": []
},
{
"text": " bc 12,2,.L64 # eq cr0",
"source": {
"file": null,
"line": 67
},
"labels": [
{
"name": ".L64",
"range": {
"startCol": 26,
"endCol": 30
}
}
]
},
{
"text": " addis r3,0,.L160@ha # token=r3",
"source": {
"file": null,
"line": 69
},
"labels": [
{
"name": ".L160",
"range": {
"startCol": 28,
"endCol": 33
}
}
]
},
{
"text": " addi r3,r3,.L160@l # token=r3 token=r3",
"source": {
"file": null,
"line": 69
},
"labels": [
{
"name": ".L160",
"range": {
"startCol": 31,
"endCol": 36
}
}
]
},
{
"text": " bl printf",
"source": {
"file": null,
"line": 69
},
"labels": []
},
{
"text": " addis r4,0,.L159@ha # token=r4",
"source": {
"file": null,
"line": 70
},
"labels": [
{
"name": ".L159",
"range": {
"startCol": 28,
"endCol": 33
}
}
]
},
{
"text": " addi r4,r4,.L159@l # token=r4 token=r4",
"source": {
"file": null,
"line": 70
},
"labels": [
{
"name": ".L159",
"range": {
"startCol": 31,
"endCol": 36
}
}
]
},
{
"text": " diab.li r3,0 # token=r3",
"source": {
"file": null,
"line": 70
},
"labels": []
},
{
"text": " bl strtok",
"source": {
"file": null,
"line": 70
},
"labels": []
},
{
"text": " mr r4,r3 # token=r4 token=r3",
"source": {
"file": null,
"line": 70
},
"labels": []
},
{
"text": " b .L66",
"source": {
"file": null,
"line": 70
},
"labels": [
{
"name": ".L66",
"range": {
"startCol": 23,
"endCol": 27
}
}
]
},
{
"text": ".L64:",
"source": null,
"labels": []
},
{
"text": " lwz r0,36(r1)",
"source": {
"file": null,
"line": 72
},
"labels": []
},
{
"text": " mtspr lr,r0",
"source": {
"file": null,
"line": 72
},
"labels": []
},
{
"text": " addi r1,r1,32 ",
"source": {
"file": null,
"line": 72
},
"labels": []
},
{
"text": " blr",
"source": {
"file": null,
"line": 72
},
"labels": []
},
{
"text": "",
"source": null,
"labels": []
},
{
"text": "main:",
"source": null,
"labels": []
},
{
"text": " stwu r1,-64(r1) ",
"source": {
"file": null,
"line": 74
},
"labels": []
},
{
"text": " mfspr r0,lr",
"source": {
"file": null,
"line": 74
},
"labels": []
},
{
"text": " stw r31,60(r1) # offset r1+60 0x3c",
"source": {
"file": null,
"line": 74
},
"labels": []
},
{
"text": " stw r0,68(r1)",
"source": {
"file": null,
"line": 74
},
"labels": []
},
{
"text": " diab.li r3,10",
"source": {
"file": null,
"line": 76
},
"labels": []
},
{
"text": " bl fibo(int)",
"source": {
"file": null,
"line": 76
},
"labels": []
},
{
"text": " mr r31,r3",
"source": {
"file": null,
"line": 76
},
"labels": []
},
{
"text": " bl fizz_buzz()",
"source": {
"file": null,
"line": 77
},
"labels": []
},
{
"text": " mr r3,r31",
"source": {
"file": null,
"line": 78
},
"labels": []
},
{
"text": " bl printOddNumbers(int)",
"source": {
"file": null,
"line": 78
},
"labels": []
},
{
"text": " lis r0,16368",
"source": {
"file": null,
"line": 79
},
"labels": []
},
{
"text": " diab.li r6,0",
"source": {
"file": null,
"line": 79
},
"labels": []
},
{
"text": " stw r0,8(r1)",
"source": {
"file": null,
"line": 79
},
"labels": []
},
{
"text": " stw r6,12(r1)",
"source": {
"file": null,
"line": 79
},
"labels": []
},
{
"text": " lis r0,16384",
"source": {
"file": null,
"line": 79
},
"labels": []
},
{
"text": " stw r0,16(r1)",
"source": {
"file": null,
"line": 79
},
"labels": []
},
{
"text": " stw r6,20(r1)",
"source": {
"file": null,
"line": 79
},
"labels": []
},
{
"text": " lis r0,16392",
"source": {
"file": null,
"line": 79
},
"labels": []
},
{
"text": " stw r0,24(r1)",
"source": {
"file": null,
"line": 79
},
"labels": []
},
{
"text": " stw r6,28(r1)",
"source": {
"file": null,
"line": 79
},
"labels": []
},
{
"text": " lis r0,16400",
"source": {
"file": null,
"line": 79
},
"labels": []
},
{
"text": " stw r0,32(r1)",
"source": {
"file": null,
"line": 79
},
"labels": []
},
{
"text": " stw r6,36(r1)",
"source": {
"file": null,
"line": 79
},
"labels": []
},
{
"text": " lis r5,16404",
"source": {
"file": null,
"line": 79
},
"labels": []
},
{
"text": " stw r5,40(r1)",
"source": {
"file": null,
"line": 79
},
"labels": []
},
{
"text": " stw r6,44(r1)",
"source": {
"file": null,
"line": 79
},
"labels": []
},
{
"text": " addi r3,r1,8",
"source": {
"file": null,
"line": 80
},
"labels": []
},
{
"text": " bl testFunction(double*, double)",
"source": {
"file": null,
"line": 80
},
"labels": []
},
{
"text": " bl tokenizeString()",
"source": {
"file": null,
"line": 81
},
"labels": []
},
{
"text": " diab.li r3,0",
"source": {
"file": null,
"line": 82
},
"labels": []
},
{
"text": " lwz r31,60(r1) # offset r1+60 0x3c",
"source": {
"file": null,
"line": 83
},
"labels": []
},
{
"text": " lwz r0,68(r1)",
"source": {
"file": null,
"line": 83
},
"labels": []
},
{
"text": " mtspr lr,r0",
"source": {
"file": null,
"line": 83
},
"labels": []
},
{
"text": " addi r1,r1,64 ",
"source": {
"file": null,
"line": 83
},
"labels": []
},
{
"text": " blr",
"source": {
"file": null,
"line": 83
},
"labels": []
},
{
"text": "",
"source": null,
"labels": []
},
{
"text": ".L65:",
"source": null,
"labels": []
},
{
"text": " .byte 71,101,101,107,115,45,102,111,114,45,71,101,101,107,115",
"source": null,
"labels": []
},
{
"text": " .byte 0",
"source": null,
"labels": []
},
{
"text": ".L114:",
"source": null,
"labels": []
},
{
"text": " .byte 70,105,122,122",
"source": null,
"labels": []
},
{
"text": " .byte 0",
"source": null,
"labels": []
},
{
"text": ".L115:",
"source": null,
"labels": []
},
{
"text": " .byte 66,117,122,122",
"source": null,
"labels": []
},
{
"text": " .byte 0",
"source": null,
"labels": []
},
{
"text": ".L116:",
"source": null,
"labels": []
},
{
"text": " .byte 110,117,109,98,101,114,61,37,100",
"source": null,
"labels": []
},
{
"text": " .byte 0",
"source": null,
"labels": []
},
{
"text": ".L117:",
"source": null,
"labels": []
},
{
"text": " .byte 10",
"source": null,
"labels": []
},
{
"text": " .byte 0",
"source": null,
"labels": []
},
{
"text": ".L131:",
"source": null,
"labels": []
},
{
"text": " .byte 37,100",
"source": null,
"labels": []
},
{
"text": " .byte 0",
"source": null,
"labels": []
},
{
"text": ".L159:",
"source": null,
"labels": []
},
{
"text": " .byte 45",
"source": null,
"labels": []
},
{
"text": " .byte 0",
"source": null,
"labels": []
},
{
"text": ".L160:",
"source": null,
"labels": []
},
{
"text": " .byte 37,115,10",
"source": null,
"labels": []
},
{
"text": " .byte 0",
"source": null,
"labels": []
},
{
"text": "",
"source": null,
"labels": []
}
],
"labelDefinitions": {
".L42": 12,
".L44": 31,
".L46": 49,
".L45": 56,
".L48": 69,
".L51": 84,
".L52": 98,
".L53": 122,
".L50": 128,
".L55": 143,
".L58": 156,
".L54": 159,
".L60": 173,
".L63": 186,
".L59": 189,
".L158": 206,
".L66": 217,
".L64": 229,
"main": 235,
".L65": 272,
".L114": 275,
".L115": 278,
".L116": 281,
".L117": 284,
".L131": 287,
".L159": 290,
".L160": 293
}
}