mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-02 17:07:32 -06:00
* Treats `FOO = BAR` like label definitions * Uses `.globl` and `.global` as roots for detecting interesting symbols * No longer assumes all uninteresting variables start with `.` Fixes #320
25 lines
483 B
NASM
25 lines
483 B
NASM
.global LongLong
|
|
LongLong:
|
|
.word 123456
|
|
.word 0
|
|
.type Long, %object
|
|
.size Long, 4
|
|
.global Long
|
|
Long:
|
|
.word 2345
|
|
.type Int, %object
|
|
.size Int, 4
|
|
.global Int
|
|
Int:
|
|
.word 123
|
|
.type Short, %object
|
|
.size Short, 2
|
|
.global Short
|
|
Short:
|
|
.short 4660
|
|
.type Char, %object
|
|
.size Char, 1
|
|
.global Char
|
|
Char:
|
|
.byte -128
|