| { | |
| "asm": [ | |
| { | |
| "labels": [], | |
| "source": null, | |
| "text": "square(int):" | |
| }, | |
| { | |
| "labels": [], | |
| "source": { | |
| "column": 21, | |
| "file": "./example.cpp", | |
| "line": 2, | |
| "mainsource": true | |
| }, | |
| "text": " endbr64" | |
| }, | |
| { | |
| "labels": [], | |
| "source": { | |
| "column": 21, | |
| "file": "./example.cpp", | |
| "line": 2, | |
| "mainsource": true | |
| }, | |
| "text": " push rbp" | |
| }, | |
| { | |
| "labels": [], | |
| "source": { | |
| "column": 21, | |
| "file": "./example.cpp", | |
| "line": 2, | |
| "mainsource": true | |
| }, | |
| "text": " mov rbp, rsp" | |
| }, | |
| { | |
| "labels": [], | |
| "source": { | |
| "column": 21, | |
| "file": "./example.cpp", | |
| "line": 2, | |
| "mainsource": true | |
| }, | |
| "text": " mov DWORD PTR [rbp-4], edi" | |
| }, | |
| { | |
| "labels": [], | |
| "source": { | |
| "column": 18, | |
| "file": "./example.cpp", | |
| "line": 3, | |
| "mainsource": true | |
| }, | |
| "text": " mov eax, DWORD PTR [rbp-4]" | |
| }, | |
| { | |
| "labels": [], | |
| "source": { | |
| "column": 18, | |
| "file": "./example.cpp", | |
| "line": 3, | |
| "mainsource": true | |
| }, | |
| "text": " imul eax, eax" | |
| }, | |
| { | |
| "labels": [], | |
| "source": { | |
| "column": 1, | |
| "file": "./example.cpp", | |
| "line": 4, | |
| "mainsource": true | |
| }, | |
| "text": " pop rbp" | |
| }, | |
| { | |
| "labels": [], | |
| "source": { | |
| "column": 1, | |
| "file": "./example.cpp", | |
| "line": 4, | |
| "mainsource": true | |
| }, | |
| "text": " ret" | |
| } | |
| ], | |
| "labelDefinitions": {} | |
| } |