blob: accdd3e13c0bb67cf7ba701fd0e24deb1a97740c [file] [log] [blame] [raw]
{
"asm": [
{
"labels": [],
"source": null,
"text": " .section .rodata.str1.4,\"aMS\",@progbits,1"
},
{
"labels": [],
"source": null,
"text": ""
},
{
"labels": [],
"source": null,
"text": " .align 4"
},
{
"labels": [],
"source": null,
"text": ".LC0:"
},
{
"labels": [],
"source": null,
"text": " .string \"%s , %s , %lld , %d , %lld\\n\""
},
{
"labels": [],
"source": null,
"text": " .text"
},
{
"labels": [],
"source": null,
"text": " ; This is a comment"
},
{
"labels": [],
"source": null,
"text": " .align 8"
},
{
"labels": [
{
"name": "toto",
"range": {
"endCol": 20,
"startCol": 16
}
}
],
"source": null,
"text": " .globl toto"
},
{
"labels": [
{
"name": "toto",
"range": {
"endCol": 21,
"startCol": 17
}
}
],
"source": null,
"text": " .type toto, @function"
},
{
"labels": [],
"source": null,
"text": "toto:"
},
{
"labels": [],
"source": null,
"text": " add $r12 = $r12, -16"
},
{
"labels": [],
"source": null,
"text": " get $r8 = $ra"
},
{
"labels": [],
"source": null,
"text": " ;;"
},
{
"labels": [],
"source": null,
"text": " ;; This is also a comment"
},
{
"labels": [],
"source": null,
"text": " sw 28[$r12] = $r10"
},
{
"labels": [],
"source": null,
"text": " add $r10 = $r12, 16"
},
{
"labels": [],
"source": null,
"text": " ;;"
},
{
"labels": [],
"source": null,
"text": " ld $r0r1 = 40[$r10]"
},
{
"labels": [],
"source": null,
"text": " ;;"
},
{
"labels": [],
"source": null,
"text": " ld $r4r5 = 24[$r10]"
},
{
"labels": [],
"source": null,
"text": " ;;"
},
{
"labels": [],
"source": null,
"text": " sw 24[$r12] = $r8"
},
{
"labels": [],
"source": null,
"text": " ;;"
},
{
"labels": [],
"source": null,
"text": " sd 16[$r12] = $r0r1"
},
{
"labels": [
{
"name": ".LC0",
"range": {
"endCol": 24,
"startCol": 20
}
}
],
"source": null,
"text": " make $r0 = .LC0"
},
{
"labels": [],
"source": null,
"text": " ;;"
},
{
"labels": [],
"source": null,
"text": " lw $r1 = 16[$r10]"
},
{
"labels": [],
"source": null,
"text": " ;;"
},
{
"labels": [],
"source": null,
"text": " lw $r2 = 20[$r10]"
},
{
"labels": [],
"source": null,
"text": " ;;"
},
{
"labels": [],
"source": null,
"text": " lw $r6 = 32[$r10]"
},
{
"labels": [],
"source": null,
"text": " call printf"
},
{
"labels": [],
"source": null,
"text": " ;;"
},
{
"labels": [],
"source": null,
"text": " add $r12 = $r10, -16"
},
{
"labels": [],
"source": null,
"text": " ;;"
},
{
"labels": [],
"source": null,
"text": " lw $r1 = 24[$r12]"
},
{
"labels": [],
"source": null,
"text": " make $r0 = 0"
},
{
"labels": [],
"source": null,
"text": " ;;"
},
{
"labels": [],
"source": null,
"text": " lw $r10 = 28[$r12]"
},
{
"labels": [],
"source": null,
"text": " add $r12 = $r12, 16"
},
{
"labels": [],
"source": null,
"text": " ;;"
},
{
"labels": [],
"source": null,
"text": " set $ra = $r1"
},
{
"labels": [],
"source": null,
"text": " ;;"
},
{
"labels": [],
"source": null,
"text": " ret"
},
{
"labels": [],
"source": null,
"text": " ;;"
},
{
"labels": [
{
"name": "toto",
"range": {
"endCol": 21,
"startCol": 17
}
},
{
"name": "toto",
"range": {
"endCol": 29,
"startCol": 25
}
}
],
"source": null,
"text": " .size toto, .-toto"
},
{
"labels": [],
"source": null,
"text": " .section .rodata.str1.4"
},
{
"labels": [],
"source": null,
"text": ""
},
{
"labels": [],
"source": null,
"text": " .align 4"
},
{
"labels": [],
"source": null,
"text": ".LC1:"
},
{
"labels": [],
"source": null,
"text": " .string \"chaine1\""
},
{
"labels": [],
"source": null,
"text": ""
},
{
"labels": [],
"source": null,
"text": " .align 4"
},
{
"labels": [],
"source": null,
"text": ".LC2:"
},
{
"labels": [],
"source": null,
"text": " .string \"chaine2\""
},
{
"labels": [],
"source": null,
"text": " .section .text.startup,\"ax\",@progbits"
},
{
"labels": [],
"source": null,
"text": ""
},
{
"labels": [],
"source": null,
"text": " .align 8"
},
{
"labels": [
{
"name": "main",
"range": {
"endCol": 20,
"startCol": 16
}
}
],
"source": null,
"text": " .globl main"
},
{
"labels": [
{
"name": "main",
"range": {
"endCol": 21,
"startCol": 17
}
}
],
"source": null,
"text": " .type main, @function"
},
{
"labels": [],
"source": null,
"text": "main:"
},
{
"labels": [],
"source": null,
"text": " add $r12 = $r12, -16"
},
{
"labels": [],
"source": null,
"text": " get $r8 = $ra"
},
{
"labels": [
{
"name": ".LC2",
"range": {
"endCol": 24,
"startCol": 20
}
}
],
"source": null,
"text": " make $r2 = .LC2"
},
{
"labels": [],
"source": null,
"text": " ;;"
},
{
"labels": [],
"source": null,
"text": " sw 28[$r12] = $r10"
},
{
"labels": [],
"source": null,
"text": " maked $r0r1 = 123456"
},
{
"labels": [],
"source": null,
"text": " add $r10 = $r12, 16"
},
{
"labels": [],
"source": null,
"text": " make $r6 = 256"
},
{
"labels": [],
"source": null,
"text": " ;;"
},
{
"labels": [],
"source": null,
"text": " sw 24[$r12] = $r8"
},
{
"labels": [],
"source": null,
"text": " maked $r4r5 = 12345"
},
{
"labels": [],
"source": null,
"text": " ;;"
},
{
"labels": [],
"source": null,
"text": " sd 16[$r12] = $r0r1"
},
{
"labels": [
{
"name": ".LC1",
"range": {
"endCol": 24,
"startCol": 20
}
}
],
"source": null,
"text": " make $r1 = .LC1"
},
{
"labels": [
{
"name": ".LC0",
"range": {
"endCol": 24,
"startCol": 20
}
}
],
"source": null,
"text": " make $r0 = .LC0"
},
{
"labels": [],
"source": null,
"text": " ;;"
},
{
"labels": [],
"source": null,
"text": " call printf"
},
{
"labels": [],
"source": null,
"text": " ;;"
},
{
"labels": [],
"source": null,
"text": " add $r12 = $r10, -16"
},
{
"labels": [],
"source": null,
"text": " ;;"
},
{
"labels": [],
"source": null,
"text": ".DUMMY:"
},
{
"labels": [],
"source": null,
"text": " lw $r1 = 24[$r12]"
},
{
"labels": [],
"source": null,
"text": " make $r0 = 0"
},
{
"labels": [],
"source": null,
"text": " ;;"
},
{
"labels": [],
"source": null,
"text": " lw $r10 = 28[$r12]"
},
{
"labels": [],
"source": null,
"text": " add $r12 = $r12, 16"
},
{
"labels": [],
"source": null,
"text": " ;;"
},
{
"labels": [],
"source": null,
"text": ".OTHERDUMMY:"
},
{
"labels": [],
"source": null,
"text": " set $ra = $r1"
},
{
"labels": [],
"source": null,
"text": " ;;"
},
{
"labels": [],
"source": null,
"text": " ret"
},
{
"labels": [],
"source": null,
"text": " ;;"
},
{
"labels": [
{
"name": "main",
"range": {
"endCol": 21,
"startCol": 17
}
},
{
"name": "main",
"range": {
"endCol": 29,
"startCol": 25
}
}
],
"source": null,
"text": " .size main, .-main"
},
{
"labels": [],
"source": null,
"text": " .ident \"GCC: (GNU) 4.9.4\""
}
],
"labelDefinitions": {
".LC0": 4,
".LC1": 51,
".LC2": 55,
"main": 62,
"toto": 11
}
}