Files
compiler-explorer/test/cases/arm-static.asm
T
Matt Godbolt 83ff13813b Better handling of labels in asm.
* 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
2017-10-04 22:49:38 -05:00

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