mirror of https://github.com/yasm/yasm.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
504 B
37 lines
504 B
.comm _ZEROVAR, 32, 16 |
|
.comm _VAR, 16, 16 |
|
.data |
|
.org 0 |
|
_ZEROVAR: |
|
.org 0xa0 |
|
.globl _VAR |
|
.type _VAR, @object |
|
.size _VAR, 16 |
|
_VAR: |
|
.4byte 0 |
|
.4byte 0 |
|
.4byte 0 |
|
.4byte 0 |
|
.org 0xc0 |
|
_VAR2: |
|
.org 0xe0 |
|
.globl _VAR3 |
|
_VAR3: |
|
|
|
.text |
|
movq $0, %rax |
|
movq _VAR, %rax |
|
movq %rax, _VAR(%rip) |
|
movq _VAR+8(%rip), %rcx |
|
movlpd _VAR(%rip), %xmm1 |
|
|
|
movq _VAR2, %rax |
|
movq %rax, _VAR2(%rip) |
|
movq _VAR2+8(%rip), %rcx |
|
movlpd _VAR2(%rip), %xmm1 |
|
|
|
movq _VAR3, %rax |
|
movq %rax, _VAR3(%rip) |
|
movq _VAR3+8(%rip), %rcx |
|
movlpd _VAR3(%rip), %xmm1 |
|
|
|
|