| { |
| "asm": [ |
| { |
| "labels": [], |
| "source": null, |
| "text": ";" |
| }, |
| { |
| "labels": [], |
| "source": null, |
| "text": "; File generated by cc65 v 2.17 - Git f95481fa" |
| }, |
| { |
| "labels": [], |
| "source": null, |
| "text": ";" |
| }, |
| { |
| "labels": [], |
| "source": null, |
| "text": "" |
| }, |
| { |
| "labels": [], |
| "source": null, |
| "text": "; ---------------------------------------------------------------" |
| }, |
| { |
| "labels": [], |
| "source": null, |
| "text": "; int __near__ square (int)" |
| }, |
| { |
| "labels": [], |
| "source": null, |
| "text": "; ---------------------------------------------------------------" |
| }, |
| { |
| "labels": [], |
| "source": null, |
| "text": "" |
| }, |
| { |
| "labels": [], |
| "source": null, |
| "text": ".proc _square: near" |
| }, |
| { |
| "labels": [], |
| "source": null, |
| "text": "" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "/tmp/test.c", |
| "line": 2 |
| }, |
| "text": " jsr pushax" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "/tmp/test.c", |
| "line": 3 |
| }, |
| "text": " ldy #$01" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "/tmp/test.c", |
| "line": 3 |
| }, |
| "text": " jsr ldaxysp" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "/tmp/test.c", |
| "line": 3 |
| }, |
| "text": " jsr pushax" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "/tmp/test.c", |
| "line": 3 |
| }, |
| "text": " ldy #$03" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "/tmp/test.c", |
| "line": 3 |
| }, |
| "text": " jsr ldaxysp" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "/tmp/test.c", |
| "line": 3 |
| }, |
| "text": " jsr tosmulax" |
| }, |
| { |
| "labels": [ |
| { |
| "name": "L0001", |
| "range": { |
| "endCol": 22, |
| "startCol": 17 |
| } |
| } |
| ], |
| "source": { |
| "file": "/tmp/test.c", |
| "line": 3 |
| }, |
| "text": " jmp L0001" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "/tmp/test.c", |
| "line": 4 |
| }, |
| "text": "L0001: jsr incsp2" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "/tmp/test.c", |
| "line": 4 |
| }, |
| "text": " rts" |
| }, |
| { |
| "labels": [], |
| "source": null, |
| "text": "" |
| } |
| ], |
| "labelDefinitions": { |
| "L0001": 19, |
| "_square": 9 |
| } |
| } |