blob: b4ab04884fdd951ae3097352f1d89b81a4c9b1db [file] [log] [blame] [raw]
{
"asm": [
{
"labels": [],
"source": null,
"text": "$LC0:"
},
{
"labels": [],
"source": null,
"text": " .ascii \"hello world\\000\""
},
{
"labels": [],
"source": null,
"text": "main:"
},
{
"labels": [],
"source": {
"file": "example.cpp",
"line": 2,
"mainsource": true
},
"text": " addiu $sp,$sp,-32"
},
{
"labels": [],
"source": {
"file": "example.cpp",
"line": 2,
"mainsource": true
},
"text": " sw $31,28($sp)"
},
{
"labels": [
{
"name": "$LC0",
"range": {
"endCol": 18,
"startCol": 14
}
}
],
"source": {
"file": "example.cpp",
"line": 3,
"mainsource": true
},
"text": " lui $4,%hi($LC0)"
},
{
"labels": [
{
"name": "$LC0",
"range": {
"endCol": 23,
"startCol": 19
}
}
],
"source": {
"file": "example.cpp",
"line": 3,
"mainsource": true
},
"text": " addiu $4,$4,%lo($LC0)"
},
{
"labels": [],
"source": {
"file": "example.cpp",
"line": 3,
"mainsource": true
},
"text": " jal puts"
},
{
"labels": [],
"source": {
"file": "example.cpp",
"line": 3,
"mainsource": true
},
"text": " nop"
},
{
"labels": [],
"source": null,
"text": ""
},
{
"labels": [],
"source": {
"file": "example.cpp",
"line": 4,
"mainsource": true
},
"text": " move $2,$0"
},
{
"labels": [],
"source": {
"file": "example.cpp",
"line": 4,
"mainsource": true
},
"text": " lw $31,28($sp)"
},
{
"labels": [],
"source": {
"file": "example.cpp",
"line": 4,
"mainsource": true
},
"text": " nop"
},
{
"labels": [],
"source": {
"file": "example.cpp",
"line": 4,
"mainsource": true
},
"text": " j $31"
},
{
"labels": [],
"source": {
"file": "example.cpp",
"line": 4,
"mainsource": true
},
"text": " addiu $sp,$sp,32"
},
{
"labels": [],
"source": null,
"text": ""
}
],
"labelDefinitions": {
"$LC0": 1,
"main": 3
}
}