id stringlengths 22 129 | text stringlengths 60 19.5k | arch stringclasses 9
values | syntax stringclasses 5
values | kind stringclasses 4
values | repo stringclasses 32
values | path stringlengths 7 108 | license stringclasses 10
values | commit stringlengths 40 40 | source_host stringclasses 1
value | category stringclasses 15
values | source_url stringlengths 85 192 | line_start int64 1 5.48k | line_end int64 4 5.5k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
yasm/yasm:modules/objfmts/macho/tests/nasm32/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/macho/tests/nasm32/macho32_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/macho32_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/machotest.c
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/machotest.asm
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/machotest.hex... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/nasm32/Makefile.inc | BSD-2-Clause | b2054b00ee186bcb79dd561d2895d4688078c77f | github | assembler | https://github.com/yasm/yasm/blob/b2054b00ee186bcb79dd561d2895d4688078c77f/modules/objfmts/macho/tests/nasm32/Makefile.inc | 1 | 10 |
yasm/yasm:modules/objfmts/macho/tests/nasm32/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/macho/tests/nasm32/macho32_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/machotest.c
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/machotest.asm
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/machotest.hex
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/reloc.asm
EXTRA... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/nasm32/Makefile.inc | BSD-2-Clause | 7f68927283c004583f427767cf0dd57b464ce649 | github | assembler | https://github.com/yasm/yasm/blob/7f68927283c004583f427767cf0dd57b464ce649/modules/objfmts/macho/tests/nasm32/Makefile.inc | 1 | 9 |
yasm/yasm:modules/objfmts/macho/tests/nasm32/macho-reloc.asm:1 | [SECTION .data]
uhoh db 5
[GLOBAL blah]
blah dw 5
[SECTION .text]
[EXTERN hi]
[EXTERN hi]
[EXTERN bye]
mov eax, hi+2
mov eax, bye
mov eax, [hi]
mov eax, [bye+2]
mov eax, $$
mov eax, $
mov eax, $+4
mov eax, $-$$
;mov eax, uhoh wrt $$
;mov eax, hi+bye
;mov eax, bye+$
;mov eax, hi-$ | arm | nasm-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/nasm32/macho-reloc.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/macho/tests/nasm32/macho-reloc.asm | 1 | 24 |
yasm/yasm:modules/objfmts/macho/tests/nasm32/macho32-pic.asm:1 | ; At present, nasm doesn't seem to support PIC generation for Mach-O.
; The PIC support code below is a little tricky.
[extern func]
SECTION .rodata
const_base:
%define GOTOFF(got,sym) (got) + (sym) - const_base
%imacro get_GOT 1
; NOTE: this macro destroys ecx resister.
call %%geteip
... | arm64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/nasm32/macho32-pic.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/macho/tests/nasm32/macho32-pic.asm | 1 | 46 |
yasm/yasm:modules/objfmts/macho/tests/nasm32/macho32-sect.asm:1 | section .data
section __x
section __y segname=__Y
section __Z, __z
section __Y __bar
section __reallylongname12345
section __REALLYLONGSEGNAME __1
section __2 __reallylongsectname
section __2REALLYLONGSEGNAME __2reallylongsectname | unknown | nasm-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/nasm32/macho32-sect.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/macho/tests/nasm32/macho32-sect.asm | 1 | 9 |
yasm/yasm:modules/objfmts/macho/tests/nasm32/macho32-size.asm:1 | section .data align=16
align 16
mmx_yuy2_00ff dw 000ffh, 000ffh, 000ffh, 000ffh
section .text
; -- Import/Export ------------------------------------------------------
global mb_yuy2yuv_mmx
struc macroblock_yuy2_param
.dsty: resd 1
.dstu: resd 1
.dstv: resd 1
.dypitch: resd 1
.dcp... | x86_64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/nasm32/macho32-size.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/macho/tests/nasm32/macho32-size.asm | 1 | 59 |
yasm/yasm:modules/objfmts/macho/tests/nasm32/machotest.asm:1 | ; test source file for assembling to MACH-O
; build with :
; yasm -f macho machotest.asm
; gcc -o machotest machotest.c machotest.o
; This file should test the following:
; [1] Define and export a global text-section symbol
; [2] Define and export a global data-section symbol
; [3] Define and export a global BSS... | arm64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/nasm32/machotest.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/macho/tests/nasm32/machotest.asm | 1 | 60 |
yasm/yasm:modules/objfmts/macho/tests/nasm32/machotest.asm:2 | mov eax,[ebp+8]
mov ecx,[ebp+12]
.label rol eax,1 ; [4] [8]
loop .label ; [9] [12]
mov esp,ebp
pop ebp
ret
; prototype: void greet(void);
_greet
mov eax,[_integer] ; [14]
inc eax
mov [localint],eax ; [14]
push dword [_commvar]
mov eax,[localptr] ; [13]
push dword [eax]
push dwor... | arm64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/nasm32/machotest.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/macho/tests/nasm32/machotest.asm | 41 | 87 |
yasm/yasm:modules/objfmts/macho/tests/nasm32/machotest.asm:2 | mov eax,[ebp+8]
mov ecx,[ebp+12]
.label rol eax,1 ; [4] [8]
loop .label ; [9] [12]
mov esp,ebp
pop ebp
ret
; prototype: void greet(void);
_greet
mov eax,[_integer] ; [14]
inc eax
mov [localint],eax ; [14]
push dword [_commvar]
mov eax,[localptr] ; [13]
push dword [eax]
push dwor... | arm64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/nasm32/machotest.asm | BSD-2-Clause | 7f68927283c004583f427767cf0dd57b464ce649 | github | assembler | https://github.com/yasm/yasm/blob/7f68927283c004583f427767cf0dd57b464ce649/modules/objfmts/macho/tests/nasm32/machotest.asm | 41 | 83 |
yasm/yasm:modules/objfmts/macho/tests/nasm64/Makefile.inc:1 | TESTS += modules/objfmts/macho/tests/nasm64/macho64_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/nasm64/nasm-macho64-pic.asm
EXTRA_DIST += modules/objfmts/macho/tests/nasm64/nasm-macho64-pic.hex
EXTRA_DIST += modules/objfmts/macho/tests/nasm64/macho64_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/nasm64/macho... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/nasm64/Makefile.inc | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/macho/tests/nasm64/Makefile.inc | 1 | 10 |
yasm/yasm:modules/objfmts/macho/tests/nasm64/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/macho/tests/nasm64/macho64_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/nasm64/nasm-macho64-pic.asm
EXTRA_DIST += modules/objfmts/macho/tests/nasm64/nasm-macho64-pic.hex
EXTRA_DIST += modules/objfmts/macho/tests/nasm64/macho64_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/nasm... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/nasm64/Makefile.inc | BSD-2-Clause | 3aab66a119b5be2a5163c1de4909f27bdc28a91e | github | assembler | https://github.com/yasm/yasm/blob/3aab66a119b5be2a5163c1de4909f27bdc28a91e/modules/objfmts/macho/tests/nasm64/Makefile.inc | 1 | 12 |
yasm/yasm:modules/objfmts/macho/tests/nasm64/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/macho/tests/nasm64/macho64_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/nasm64/macho64_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/nasm64/machotest64.c
EXTRA_DIST += modules/objfmts/macho/tests/nasm64/machotest64.asm
EXTRA_DIST += modules/objfmts/macho/tests/nasm64/machotest... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/nasm64/Makefile.inc | BSD-2-Clause | 9cf646aa2b477afbcb676e49eacad615beef6c44 | github | assembler | https://github.com/yasm/yasm/blob/9cf646aa2b477afbcb676e49eacad615beef6c44/modules/objfmts/macho/tests/nasm64/Makefile.inc | 1 | 10 |
yasm/yasm:modules/objfmts/macho/tests/nasm64/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/macho/tests/nasm64/macho64_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/nasm64/macho64_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/nasm64/machotest64.c
EXTRA_DIST += modules/objfmts/macho/tests/nasm64/machotest64.asm
EXTRA_DIST += modules/objfmts/macho/tests/nasm64/machotest... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/nasm64/Makefile.inc | BSD-2-Clause | b2054b00ee186bcb79dd561d2895d4688078c77f | github | assembler | https://github.com/yasm/yasm/blob/b2054b00ee186bcb79dd561d2895d4688078c77f/modules/objfmts/macho/tests/nasm64/Makefile.inc | 1 | 10 |
yasm/yasm:modules/objfmts/macho/tests/nasm64/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/macho/tests/nasm64/macho64_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/nasm64/machotest64.c
EXTRA_DIST += modules/objfmts/macho/tests/nasm64/machotest64.asm
EXTRA_DIST += modules/objfmts/macho/tests/nasm64/machotest64.hex
EXTRA_DIST += modules/objfmts/macho/tests/nasm64/reloc64-e... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/nasm64/Makefile.inc | BSD-2-Clause | 7f68927283c004583f427767cf0dd57b464ce649 | github | assembler | https://github.com/yasm/yasm/blob/7f68927283c004583f427767cf0dd57b464ce649/modules/objfmts/macho/tests/nasm64/Makefile.inc | 1 | 9 |
yasm/yasm:modules/objfmts/macho/tests/nasm64/macho-reloc64-err.asm:1 | [BITS 64]
[SECTION .data]
uhoh db 5
[GLOBAL blah]
blah dw 5
[GLOBAL aha]
aha dq blah
aha2 dq blah+4
aha3 dq blah-uhoh
[SECTION .text]
[EXTERN hi]
[EXTERN hi]
[EXTERN bye]
[BITS 64]
mov rax, hi+2
mov rax, bye
mov rax, [qword hi]
mov rdi, [rip+ hi]
mov rax, [bye+2]
mov rax, $$
mov rax, $
mov rax, $+4
mov ra... | arm | nasm-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/nasm64/macho-reloc64-err.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/macho/tests/nasm64/macho-reloc64-err.asm | 1 | 32 |
yasm/yasm:modules/objfmts/macho/tests/nasm64/machotest64.asm:1 | ; test source file for assembling to MACH-O
; build with :
; yasm -f macho -m amd64 machotest64.asm
; gcc -m64 -o machotest64 machotest64.c machotest64.o
; This file should test the following:
; [1] Define and export a global text-section symbol
; [2] Define and export a global data-section symbol
; [3] Define a... | arm64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/nasm64/machotest64.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/macho/tests/nasm64/machotest64.asm | 1 | 60 |
yasm/yasm:modules/objfmts/macho/tests/nasm64/machotest64.asm:2 | _lrotate: ; [1]
push rcx
mov rax,rdi
mov rcx,rsi
.label rol rax,1 ; [4] [8]
loop .label ; [9] [12]
pop rcx
ret
_getstr:
mov rax,qword _asmstr
ret
_readgreet:
mov rax,[qword localint] ; [18]
ret
_retrievelabel:
mov rax,[qword localptr]
ret
; prototype: void greet(void);
; calls "void druck(a,... | arm64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/nasm64/machotest64.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/macho/tests/nasm64/machotest64.asm | 41 | 100 |
yasm/yasm:modules/objfmts/macho/tests/nasm64/machotest64.asm:3 | ret
; some internal calls
call _greet
call _retrievelabel
[SECTION .data]
; a string for Printf
_printfstr db "integer==%d, localint==%d, commvar=%d"
db 10, 0
; some pointers
localptr dq localint ; [5] [17]
_textptr dq _greet ; [15]
_selfptr dq _selfptr ; [16]
;[section .data2 align=16]
; a string
_asm... | arm64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/nasm64/machotest64.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/macho/tests/nasm64/machotest64.asm | 81 | 111 |
yasm/yasm:modules/objfmts/macho/tests/nasm64/machotest64.asm:2 | _lrotate: ; [1]
push rcx
mov rax,rdi
mov rcx,rsi
.label rol rax,1 ; [4] [8]
loop .label ; [9] [12]
pop rcx
ret
_getstr:
mov rax,qword _asmstr
ret
_readgreet:
mov rax,[qword localint] ; [18]
ret
_retrievelabel:
mov rax,[qword localptr]
ret
; prototype: void greet(void);
; calls "void druck(a,... | arm64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/nasm64/machotest64.asm | BSD-2-Clause | 7f68927283c004583f427767cf0dd57b464ce649 | github | assembler | https://github.com/yasm/yasm/blob/7f68927283c004583f427767cf0dd57b464ce649/modules/objfmts/macho/tests/nasm64/machotest64.asm | 41 | 100 |
yasm/yasm:modules/objfmts/macho/tests/nasm64/machotest64.asm:3 | ret
[SECTION .data]
; a string for Printf
_printfstr db "integer==%d, localint==%d, commvar=%d"
db 10, 0
; some pointers
localptr dq localint ; [5] [17]
_textptr dq _greet ; [15]
_selfptr dq _selfptr ; [16]
;[section .data2 align=16]
; a string
_asmstr db 'hello, world', 0 ; [2]
[SECTION .bss]
; an ... | arm64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/nasm64/machotest64.asm | BSD-2-Clause | 7f68927283c004583f427767cf0dd57b464ce649 | github | assembler | https://github.com/yasm/yasm/blob/7f68927283c004583f427767cf0dd57b464ce649/modules/objfmts/macho/tests/nasm64/machotest64.asm | 81 | 107 |
yasm/yasm:modules/objfmts/macho/tests/nasm64/nasm-macho64-pic.asm:1 | [extern _foo]
call _foo
; r_type=X86_64_RELOC_BRANCH, r_length=2, r_extern=1, r_pcrel=1, r_symbolnum=_foo
; E8 00 00 00 00
call _foo+4
; r_type=X86_64_RELOC_BRANCH, r_length=2, r_extern=1, r_pcrel=1, r_symbolnum=_foo
; E8 04 00 00 00
mov rax, [rel _foo wrt ..gotpcrel]
; r_type=X86_64_RELOC_GOT_LOAD, r_length=2... | arm64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/nasm64/nasm-macho64-pic.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/macho/tests/nasm64/nasm-macho64-pic.asm | 1 | 33 |
yasm/yasm:modules/objfmts/macho/tests/nasm64/reloc64-err.asm:1 | [BITS 64]
[SECTION .data]
uhoh db 5
[GLOBAL blah]
blah dw 5
[GLOBAL aha]
aha dq blah
aha2 dq blah+4
aha3 dq blah-uhoh
[SECTION .text]
[EXTERN hi]
[EXTERN hi]
[EXTERN bye]
[BITS 64]
mov rax, hi+2
mov rax, bye
mov rax, [qword hi]
mov rdi, [rip+ hi]
mov rax, [bye+2]
mov rax, $$
mov rax, $
mov rax, $+4
; the l... | arm | nasm-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/nasm64/reloc64-err.asm | BSD-2-Clause | 7f68927283c004583f427767cf0dd57b464ce649 | github | assembler | https://github.com/yasm/yasm/blob/7f68927283c004583f427767cf0dd57b464ce649/modules/objfmts/macho/tests/nasm64/reloc64-err.asm | 1 | 33 |
yasm/yasm:modules/objfmts/rdf/Makefile.inc:1 | libyasm_a_SOURCES += modules/objfmts/rdf/rdf-objfmt.c
YASM_MODULES += objfmt_rdf
EXTRA_DIST += modules/objfmts/rdf/tests/Makefile.inc
include modules/objfmts/rdf/tests/Makefile.inc | riscv | gas-like | handwritten | yasm/yasm | modules/objfmts/rdf/Makefile.inc | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/rdf/Makefile.inc | 1 | 7 |
yasm/yasm:modules/objfmts/rdf/Makefile.inc:1 | # $Id$
libyasm_a_SOURCES += modules/objfmts/rdf/rdf-objfmt.c
YASM_MODULES += objfmt_rdf
EXTRA_DIST += modules/objfmts/rdf/tests/Makefile.inc
include modules/objfmts/rdf/tests/Makefile.inc | riscv | gas-like | handwritten | yasm/yasm | modules/objfmts/rdf/Makefile.inc | BSD-2-Clause | 59cf126f37281fb1bbe1591a7ed927ed995977b6 | github | assembler | https://github.com/yasm/yasm/blob/59cf126f37281fb1bbe1591a7ed927ed995977b6/modules/objfmts/rdf/Makefile.inc | 1 | 9 |
yasm/yasm:modules/objfmts/rdf/tests/Makefile.inc:1 | TESTS += modules/objfmts/rdf/tests/rdf_test.sh
EXTRA_DIST += modules/objfmts/rdf/tests/rdf_test.sh
EXTRA_DIST += modules/objfmts/rdf/tests/rdfabs.asm
EXTRA_DIST += modules/objfmts/rdf/tests/rdfabs.errwarn
EXTRA_DIST += modules/objfmts/rdf/tests/rdfabs.hex
EXTRA_DIST += modules/objfmts/rdf/tests/rdfext.asm
EXTRA_DIST +... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/rdf/tests/Makefile.inc | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/rdf/tests/Makefile.inc | 1 | 22 |
yasm/yasm:modules/objfmts/rdf/tests/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/rdf/tests/rdf_test.sh
EXTRA_DIST += modules/objfmts/rdf/tests/rdf_test.sh
EXTRA_DIST += modules/objfmts/rdf/tests/rdfabs.asm
EXTRA_DIST += modules/objfmts/rdf/tests/rdfabs.errwarn
EXTRA_DIST += modules/objfmts/rdf/tests/rdfabs.hex
EXTRA_DIST += modules/objfmts/rdf/tests/rdfext.asm
EXTR... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/rdf/tests/Makefile.inc | BSD-2-Clause | 59cf126f37281fb1bbe1591a7ed927ed995977b6 | github | assembler | https://github.com/yasm/yasm/blob/59cf126f37281fb1bbe1591a7ed927ed995977b6/modules/objfmts/rdf/tests/Makefile.inc | 1 | 24 |
yasm/yasm:modules/objfmts/rdf/tests/rdfabs.asm:1 | absolute 0x5000
label
label2 equ 0x9999
global label
global label2 | unknown | nasm-like | testsuite | yasm/yasm | modules/objfmts/rdf/tests/rdfabs.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/rdf/tests/rdfabs.asm | 1 | 7 |
yasm/yasm:modules/objfmts/rdf/tests/rdfext.asm:1 | module thismodule
module $thismodule
global foo:export
global bar:export proc
global bar2:export function
global baz:export data
global baz2:export object
extern extvar:import
extern func:proc
extern farfunc:far
library alib.rdl
common cvar 16:32
foo:
dd 0
bar:
dd 0
bar2:
dd 0
call func
call farfunc ; generates a nea... | arm | masm-like | testsuite | yasm/yasm | modules/objfmts/rdf/tests/rdfext.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/rdf/tests/rdfext.asm | 1 | 60 |
yasm/yasm:modules/objfmts/rdf/tests/rdfext.asm:2 | section b text
dd 0
section c code
dd 0
section d data
dd 0
section e comment,5 ; after comma is reserved value
dd 0
section f lcomment
dd 0
section g pcomment,8
dd 0
section h symdebug
dd 0
section i linedebug
dd 0 | arm | masm-like | testsuite | yasm/yasm | modules/objfmts/rdf/tests/rdfext.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/rdf/tests/rdfext.asm | 41 | 63 |
yasm/yasm:modules/objfmts/rdf/tests/rdfext.asm:1 | module thismodule
module "$thismodule"
global foo:export
global bar:export proc
global bar2:export function
global baz:export data
global baz2:export object
extern extvar:import
extern func:proc
extern farfunc:far
library alib.rdl
common cvar 16:32
foo:
dd 0
bar:
dd 0
bar2:
dd 0
call func
call farfunc ; generates a n... | arm | masm-like | testsuite | yasm/yasm | modules/objfmts/rdf/tests/rdfext.asm | BSD-2-Clause | fdf47df3787862bcbfb2c8a97dc2376ec223d0d6 | github | assembler | https://github.com/yasm/yasm/blob/fdf47df3787862bcbfb2c8a97dc2376ec223d0d6/modules/objfmts/rdf/tests/rdfext.asm | 1 | 60 |
yasm/yasm:modules/objfmts/win32/Makefile.inc:1 | # Assume objfmt_coff is included
YASM_MODULES += objfmt_win32
EXTRA_DIST += modules/objfmts/win32/tests/Makefile.inc
include modules/objfmts/win32/tests/Makefile.inc | riscv | gas-like | handwritten | yasm/yasm | modules/objfmts/win32/Makefile.inc | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/win32/Makefile.inc | 1 | 7 |
yasm/yasm:modules/objfmts/win32/Makefile.inc:1 | # $Id$
# Assume objfmt_coff is included
YASM_MODULES += objfmt_win32
EXTRA_DIST += modules/objfmts/win32/tests/Makefile.inc
include modules/objfmts/win32/tests/Makefile.inc | riscv | gas-like | handwritten | yasm/yasm | modules/objfmts/win32/Makefile.inc | BSD-2-Clause | 882738b2349e777dc5d1c3326471d4b7f906c8ed | github | assembler | https://github.com/yasm/yasm/blob/882738b2349e777dc5d1c3326471d4b7f906c8ed/modules/objfmts/win32/Makefile.inc | 1 | 9 |
yasm/yasm:modules/objfmts/win32/Makefile.inc:1 | # $Id$
pkglib_LTLIBRARIES += objfmt_win32.la
objfmt_win32_la_SOURCES = modules/objfmts/coff/coff-objfmt.c
objfmt_win32_la_LDFLAGS = -module -avoid-version -no-undefined
objfmt_win32_la_LIBADD = libyasm.la
YASM_MODULES += -dlopen objfmt_win32.la
EXTRA_DIST += modules/objfmts/win32/tests/Makefile.inc
include modules/... | riscv | gas-like | handwritten | yasm/yasm | modules/objfmts/win32/Makefile.inc | BSD-2-Clause | 1a86c340266f98dbcb03cee8de382431d916fde9 | github | assembler | https://github.com/yasm/yasm/blob/1a86c340266f98dbcb03cee8de382431d916fde9/modules/objfmts/win32/Makefile.inc | 1 | 12 |
yasm/yasm:modules/objfmts/win32/Makefile.inc:1 | # $IdPath$
pkglib_LTLIBRARIES += objfmt_win32.la
objfmt_win32_la_SOURCES = modules/objfmts/coff/coff-objfmt.c
objfmt_win32_la_LDFLAGS = -module -avoid-version -no-undefined
objfmt_win32_la_LIBADD = libyasm.la
YASM_MODULES += -dlopen objfmt_win32.la
EXTRA_DIST += modules/objfmts/win32/tests/Makefile.inc
include modu... | riscv | gas-like | handwritten | yasm/yasm | modules/objfmts/win32/Makefile.inc | BSD-2-Clause | 823fb1b781f14ac354cc5d08202fb08357e82c0e | github | assembler | https://github.com/yasm/yasm/blob/823fb1b781f14ac354cc5d08202fb08357e82c0e/modules/objfmts/win32/Makefile.inc | 1 | 12 |
yasm/yasm:modules/objfmts/win32/Makefile.inc:1 | # $IdPath$
pkglib_LTLIBRARIES += objfmt_win32.la
objfmt_win32_la_SOURCES = \
modules/objfmts/coff/coff-objfmt.c
objfmt_win32_la_LDFLAGS = -module -avoid-version -no-undefined
objfmt_win32_la_LIBADD = libyasm.la
YASM_MODULES += -dlopen objfmt_win32.la
EXTRA_DIST += \
modules/objfmts/win32/tests/Makefile.inc
includ... | riscv | gas-like | handwritten | yasm/yasm | modules/objfmts/win32/Makefile.inc | BSD-2-Clause | f9e36309e02167a78858857e7142c251f74b7f50 | github | assembler | https://github.com/yasm/yasm/blob/f9e36309e02167a78858857e7142c251f74b7f50/modules/objfmts/win32/Makefile.inc | 1 | 14 |
yasm/yasm:modules/objfmts/win32/Makefile.inc:1 | # $IdPath$
lib_LTLIBRARIES += yasm_win32.la
yasm_win32_la_SOURCES = \
modules/objfmts/coff/coff-objfmt.c
yasm_win32_la_LDFLAGS = -module -avoid-version -no-undefined
yasm_win32_la_LIBADD = libyasm.la
YASM_MODULES += -dlopen yasm_win32.la
EXTRA_DIST += \
modules/objfmts/win32/tests/Makefile.inc
include modules/obj... | riscv | gas-like | handwritten | yasm/yasm | modules/objfmts/win32/Makefile.inc | BSD-2-Clause | c4fe05c29f2b979033a2c4de2cc2ea16b279c4c7 | github | assembler | https://github.com/yasm/yasm/blob/c4fe05c29f2b979033a2c4de2cc2ea16b279c4c7/modules/objfmts/win32/Makefile.inc | 1 | 14 |
yasm/yasm:modules/objfmts/win32/Makefile.inc:1 | # $IdPath$
lib_LTLIBRARIES += yasm-win32.la
yasm_win32_la_SOURCES = \
modules/objfmts/coff/coff-objfmt.c
yasm_win32_la_LDFLAGS = -module -avoid-version -no-undefined
yasm_win32_la_LIBADD = libyasm.la
YASM_MODULES += -dlopen yasm-win32.la
EXTRA_DIST += \
modules/objfmts/win32/tests/Makefile.inc
include modules/obj... | riscv | gas-like | handwritten | yasm/yasm | modules/objfmts/win32/Makefile.inc | BSD-2-Clause | 6960b313292df84253896457621c94d89848d6e1 | github | assembler | https://github.com/yasm/yasm/blob/6960b313292df84253896457621c94d89848d6e1/modules/objfmts/win32/Makefile.inc | 1 | 14 |
yasm/yasm:modules/objfmts/win32/tests/Makefile.inc:1 | TESTS += modules/objfmts/win32/tests/win32_test.sh
EXTRA_DIST += modules/objfmts/win32/tests/export.asm
EXTRA_DIST += modules/objfmts/win32/tests/export.hex
EXTRA_DIST += modules/objfmts/win32/tests/win32_test.sh
EXTRA_DIST += modules/objfmts/win32/tests/win32-curpos.asm
EXTRA_DIST += modules/objfmts/win32/tests/win32... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/win32/tests/Makefile.inc | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/win32/tests/Makefile.inc | 1 | 21 |
yasm/yasm:modules/objfmts/win32/tests/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/win32/tests/win32_test.sh
EXTRA_DIST += modules/objfmts/win32/tests/export.asm
EXTRA_DIST += modules/objfmts/win32/tests/export.hex
EXTRA_DIST += modules/objfmts/win32/tests/win32_test.sh
EXTRA_DIST += modules/objfmts/win32/tests/win32-curpos.asm
EXTRA_DIST += modules/objfmts/win32/tes... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/win32/tests/Makefile.inc | BSD-2-Clause | b7a38ed4fdb71dd6b9f16614b2f015a0051e8ae2 | github | assembler | https://github.com/yasm/yasm/blob/b7a38ed4fdb71dd6b9f16614b2f015a0051e8ae2/modules/objfmts/win32/tests/Makefile.inc | 1 | 23 |
yasm/yasm:modules/objfmts/win32/tests/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/win32/tests/win32_test.sh
EXTRA_DIST += modules/objfmts/win32/tests/export.asm
EXTRA_DIST += modules/objfmts/win32/tests/export.hex
EXTRA_DIST += modules/objfmts/win32/tests/win32_test.sh
EXTRA_DIST += modules/objfmts/win32/tests/win32-curpos.asm
EXTRA_DIST += modules/objfmts/win32/tes... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/win32/tests/Makefile.inc | BSD-2-Clause | 0fba7dca8d2e22a5825dd7c9f14c24a7ffee17b3 | github | assembler | https://github.com/yasm/yasm/blob/0fba7dca8d2e22a5825dd7c9f14c24a7ffee17b3/modules/objfmts/win32/tests/Makefile.inc | 1 | 19 |
yasm/yasm:modules/objfmts/win32/tests/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/win32/tests/win32_test.sh
EXTRA_DIST += modules/objfmts/win32/tests/export.asm
EXTRA_DIST += modules/objfmts/win32/tests/export.hex
EXTRA_DIST += modules/objfmts/win32/tests/win32_test.sh
EXTRA_DIST += modules/objfmts/win32/tests/win32-curpos.asm
EXTRA_DIST += modules/objfmts/win32/tes... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/win32/tests/Makefile.inc | BSD-2-Clause | 6aaa48cce1faf013699f1878a47a37c6c94c9c8b | github | assembler | https://github.com/yasm/yasm/blob/6aaa48cce1faf013699f1878a47a37c6c94c9c8b/modules/objfmts/win32/tests/Makefile.inc | 1 | 16 |
yasm/yasm:modules/objfmts/win32/tests/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/win32/tests/win32_test.sh
EXTRA_DIST += modules/objfmts/win32/tests/export.asm
EXTRA_DIST += modules/objfmts/win32/tests/export.hex
EXTRA_DIST += modules/objfmts/win32/tests/export.errwarn
EXTRA_DIST += modules/objfmts/win32/tests/win32_test.sh
EXTRA_DIST += modules/objfmts/win32/tests... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/win32/tests/Makefile.inc | BSD-2-Clause | 39addc057ba32844b47460425d48f258cd8161d8 | github | assembler | https://github.com/yasm/yasm/blob/39addc057ba32844b47460425d48f258cd8161d8/modules/objfmts/win32/tests/Makefile.inc | 1 | 21 |
yasm/yasm:modules/objfmts/win32/tests/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/win32/tests/win32_test.sh
EXTRA_DIST += modules/objfmts/win32/tests/export.asm
EXTRA_DIST += modules/objfmts/win32/tests/export.hex
EXTRA_DIST += modules/objfmts/win32/tests/export.errwarn
EXTRA_DIST += modules/objfmts/win32/tests/win32_test.sh
EXTRA_DIST += modules/objfmts/win32/tests... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/win32/tests/Makefile.inc | BSD-2-Clause | 0cdfa299944eb61c31fc80504e9cf54e4a56cb53 | github | assembler | https://github.com/yasm/yasm/blob/0cdfa299944eb61c31fc80504e9cf54e4a56cb53/modules/objfmts/win32/tests/Makefile.inc | 1 | 18 |
yasm/yasm:modules/objfmts/win32/tests/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/win32/tests/win32_test.sh
EXTRA_DIST += modules/objfmts/win32/tests/export.asm
EXTRA_DIST += modules/objfmts/win32/tests/export.hex
EXTRA_DIST += modules/objfmts/win32/tests/export.errwarn
EXTRA_DIST += modules/objfmts/win32/tests/win32_test.sh
EXTRA_DIST += modules/objfmts/win32/tests... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/win32/tests/Makefile.inc | BSD-2-Clause | b5c76541cb88717b50a9442b4587eadb3f5f8247 | github | assembler | https://github.com/yasm/yasm/blob/b5c76541cb88717b50a9442b4587eadb3f5f8247/modules/objfmts/win32/tests/Makefile.inc | 1 | 15 |
yasm/yasm:modules/objfmts/win32/tests/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/win32/tests/win32_test.sh
EXTRA_DIST += modules/objfmts/win32/tests/export.asm
EXTRA_DIST += modules/objfmts/win32/tests/export.hex
EXTRA_DIST += modules/objfmts/win32/tests/export.errwarn
EXTRA_DIST += modules/objfmts/win32/tests/win32_test.sh
EXTRA_DIST += modules/objfmts/win32/tests... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/win32/tests/Makefile.inc | BSD-2-Clause | a7b3e155882f0c543504fc80de6abd8542af0331 | github | assembler | https://github.com/yasm/yasm/blob/a7b3e155882f0c543504fc80de6abd8542af0331/modules/objfmts/win32/tests/Makefile.inc | 1 | 12 |
yasm/yasm:modules/objfmts/win32/tests/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/win32/tests/win32_test.sh
EXTRA_DIST += modules/objfmts/win32/tests/win32_test.sh
EXTRA_DIST += modules/objfmts/win32/tests/win32test.c
EXTRA_DIST += modules/objfmts/win32/tests/win32test.asm
EXTRA_DIST += modules/objfmts/win32/tests/win32test.hex
EXTRA_DIST += modules/objfmts/win32/te... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/win32/tests/Makefile.inc | BSD-2-Clause | 1a86c340266f98dbcb03cee8de382431d916fde9 | github | assembler | https://github.com/yasm/yasm/blob/1a86c340266f98dbcb03cee8de382431d916fde9/modules/objfmts/win32/tests/Makefile.inc | 1 | 9 |
yasm/yasm:modules/objfmts/win32/tests/Makefile.inc:1 | # $IdPath$
TESTS += modules/objfmts/win32/tests/win32_test.sh
EXTRA_DIST += modules/objfmts/win32/tests/win32_test.sh
EXTRA_DIST += modules/objfmts/win32/tests/win32test.c
EXTRA_DIST += modules/objfmts/win32/tests/win32test.asm
EXTRA_DIST += modules/objfmts/win32/tests/win32test.hex
EXTRA_DIST += modules/objfmts/win3... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/win32/tests/Makefile.inc | BSD-2-Clause | 823fb1b781f14ac354cc5d08202fb08357e82c0e | github | assembler | https://github.com/yasm/yasm/blob/823fb1b781f14ac354cc5d08202fb08357e82c0e/modules/objfmts/win32/tests/Makefile.inc | 1 | 9 |
yasm/yasm:modules/objfmts/win32/tests/Makefile.inc:1 | # $IdPath$
TESTS += \
modules/objfmts/win32/tests/win32_test.sh
EXTRA_DIST += \
modules/objfmts/win32/tests/win32_test.sh \
modules/objfmts/win32/tests/win32test.c \
modules/objfmts/win32/tests/win32test.asm \
modules/objfmts/win32/tests/win32test.hex \
modules/objfmts/win32/tests/win32test.errwarn | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/win32/tests/Makefile.inc | BSD-2-Clause | 6960b313292df84253896457621c94d89848d6e1 | github | assembler | https://github.com/yasm/yasm/blob/6960b313292df84253896457621c94d89848d6e1/modules/objfmts/win32/tests/Makefile.inc | 1 | 11 |
yasm/yasm:modules/objfmts/win32/tests/gas/Makefile.inc:1 | TESTS += modules/objfmts/win32/tests/gas/win32_gas_test.sh
EXTRA_DIST += modules/objfmts/win32/tests/gas/win32_gas_test.sh
EXTRA_DIST += modules/objfmts/win32/tests/gas/win32at.asm
EXTRA_DIST += modules/objfmts/win32/tests/gas/win32at.hex
EXTRA_DIST += modules/objfmts/win32/tests/gas/win32def.asm
EXTRA_DIST += modules... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/win32/tests/gas/Makefile.inc | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/win32/tests/gas/Makefile.inc | 1 | 9 |
yasm/yasm:modules/objfmts/win32/tests/gas/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/win32/tests/gas/win32_gas_test.sh
EXTRA_DIST += modules/objfmts/win32/tests/gas/win32_gas_test.sh
EXTRA_DIST += modules/objfmts/win32/tests/gas/win32at.asm
EXTRA_DIST += modules/objfmts/win32/tests/gas/win32at.hex
EXTRA_DIST += modules/objfmts/win32/tests/gas/win32def.asm
EXTRA_DIST +=... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/win32/tests/gas/Makefile.inc | BSD-2-Clause | bafc905860d88a8cdf86cd8dbfc48b8e1f91fc68 | github | assembler | https://github.com/yasm/yasm/blob/bafc905860d88a8cdf86cd8dbfc48b8e1f91fc68/modules/objfmts/win32/tests/gas/Makefile.inc | 1 | 11 |
yasm/yasm:modules/objfmts/win32/tests/gas/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/win32/tests/gas/win32_gas_test.sh
EXTRA_DIST += modules/objfmts/win32/tests/gas/win32_gas_test.sh
EXTRA_DIST += modules/objfmts/win32/tests/gas/win32at.asm
EXTRA_DIST += modules/objfmts/win32/tests/gas/win32at.hex
EXTRA_DIST += modules/objfmts/win32/tests/gas/win32def.asm
EXTRA_DIST +=... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/win32/tests/gas/Makefile.inc | BSD-2-Clause | 5fb3213be3b2cd2b21ea5e6990f32a46e161b02d | github | assembler | https://github.com/yasm/yasm/blob/5fb3213be3b2cd2b21ea5e6990f32a46e161b02d/modules/objfmts/win32/tests/gas/Makefile.inc | 1 | 9 |
yasm/yasm:modules/objfmts/win32/tests/gas/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/win32/tests/gas/win32_gas_test.sh
EXTRA_DIST += modules/objfmts/win32/tests/gas/win32_gas_test.sh
EXTRA_DIST += modules/objfmts/win32/tests/gas/win32at.asm
EXTRA_DIST += modules/objfmts/win32/tests/gas/win32at.hex | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/win32/tests/gas/Makefile.inc | BSD-2-Clause | b7a38ed4fdb71dd6b9f16614b2f015a0051e8ae2 | github | assembler | https://github.com/yasm/yasm/blob/b7a38ed4fdb71dd6b9f16614b2f015a0051e8ae2/modules/objfmts/win32/tests/gas/Makefile.inc | 1 | 7 |
yasm/yasm:modules/objfmts/win32/tests/gas/win32at.asm:1 | .section .rodata
L2586:
.ascii "myWindowClass\0"
.globl _g_szClassName
_g_szClassName:
.byte 109
.byte 121
.byte 87
.byte 105
.byte 110
.byte 100
.byte 111
.byte 119
.byte 67
.byte 108
.byte 97
.byte 115
.byte 115
.byte 0
.text
.align 4
.globl _WndProc@16
_WndProc@16:
pushl %ebp
movl %esp,%ebp
subl $8,%esp
L2588:
L2590... | x86_64 | masm-like | testsuite | yasm/yasm | modules/objfmts/win32/tests/gas/win32at.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/win32/tests/gas/win32at.asm | 1 | 60 |
yasm/yasm:modules/objfmts/win32/tests/gas/win32at.asm:2 | pushl 20(%ebp)
pushl 16(%ebp)
pushl 12(%ebp)
pushl 8(%ebp)
call _DefWindowProcA@16
movl %eax,-8(%ebp)
jmp L2589
L2592:
cmpl $2,-4(%ebp)
je L2594
cmpl $16,-4(%ebp)
je L2593
jmp L2595
L2591:
movl $0,-8(%ebp)
jmp L2589
L2589:
movl -8(%ebp),%eax
leave
ret $16
.section .rodata
L2600:
.ascii "Window Registration Failed!\0"
L... | x86_64 | masm-like | testsuite | yasm/yasm | modules/objfmts/win32/tests/gas/win32at.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/win32/tests/gas/win32at.asm | 41 | 100 |
yasm/yasm:modules/objfmts/win32/tests/gas/win32at.asm:3 | movl $_WndProc@16,-40(%ebp)
movl $0,-36(%ebp)
movl $0,-32(%ebp)
movl 8(%ebp),%eax
movl %eax,-28(%ebp)
pushl $32512
pushl $0
call _LoadIconA@8
movl %eax,-24(%ebp)
pushl $32512
pushl $0
call _LoadCursorA@8
movl %eax,-20(%ebp)
movl $6,-16(%ebp)
movl $0,-12(%ebp)
movl $_g_szClassName,-8(%ebp)
pushl $32512
pushl $0
call _Lo... | x86_64 | masm-like | testsuite | yasm/yasm | modules/objfmts/win32/tests/gas/win32at.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/win32/tests/gas/win32at.asm | 81 | 140 |
yasm/yasm:modules/objfmts/win32/tests/gas/win32at.asm:4 | pushl $-2147483648
pushl $13565952
pushl $L2602
pushl $_g_szClassName
pushl $512
call _CreateWindowExA@48
movl %eax,-52(%ebp)
cmpl $0,-52(%ebp)
jne L2603
pushl $48
pushl $L2601
pushl $L2604
pushl $0
call _MessageBoxA@16
movl $0,-84(%ebp)
jmp L2597
L2603:
pushl 20(%ebp)
pushl -52(%ebp)
call _ShowWindow@8
pushl -52(%ebp)... | x86_64 | masm-like | testsuite | yasm/yasm | modules/objfmts/win32/tests/gas/win32at.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/win32/tests/gas/win32at.asm | 121 | 167 |
yasm/yasm:modules/objfmts/win32/tests/gas/win32secrel32.asm:1 | # [oformat win32]
.text
.ascii ">>>>"
pre04: .ascii "<<<<"
.ascii ">>>>>"
pre0d: .ascii "<<<"
.ascii ">>>>>>"
pre16: .ascii "<<"
.ascii ">>>>>>>"
pre1f: .ascii "<"
.data
.ascii ">>>>"
sam04: .ascii "<<<<"
.ascii ">>>>>"
sam0d: .ascii "<<<"
.ascii ">>>>>>"
sam16: .ascii "<<"
.ascii ">>>>>>>"
sam1f: .ascii "<"... | arm64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/win32/tests/gas/win32secrel32.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/win32/tests/gas/win32secrel32.asm | 1 | 60 |
yasm/yasm:modules/objfmts/win32/tests/gas/win32secrel32.asm:2 | .byte 0x11
.secrel32 sam1f
.byte 0x11
.ascii "<<<<<<<<"
.ascii ">>>>"
.secrel32 nex04
.byte 0x11
.secrel32 nex0d
.byte 0x11
.secrel32 nex16
.byte 0x11
.secrel32 nex1f
.byte 0x11
.ascii "<<<<<<<<"
.ascii ">>>>"
.secrel32 ext24
.byte 0x11
.secrel32 ext2d
.byte 0x11
.secrel32 ext36
.byte 0x11
.secre... | arm64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/win32/tests/gas/win32secrel32.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/win32/tests/gas/win32secrel32.asm | 41 | 80 |
yasm/yasm:modules/objfmts/win32/tests/win32-longsect.asm:1 | [section this_is_a_very_long_section_name]
dd 0
[section another.long.section]
dd 0
[section exactly8]
dd 0
[section onemorex9]
dd 0
[section juuust7]
dd 0 | unknown | nasm-like | testsuite | yasm/yasm | modules/objfmts/win32/tests/win32-longsect.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/win32/tests/win32-longsect.asm | 1 | 10 |
yasm/yasm:modules/objfmts/win32/tests/win32-safeseh.asm:1 | MyHandler:
ret
safeseh MyHandler
extern MyHandler3
safeseh MyHandler3 | arm64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/win32/tests/win32-safeseh.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/win32/tests/win32-safeseh.asm | 1 | 5 |
yasm/yasm:modules/objfmts/win32/tests/win32-segof.asm:1 | extern value
mov ax, seg value
mov ds, ax
mov ax, seg local
mov es, ax
section .data
local: | unknown | nasm-like | testsuite | yasm/yasm | modules/objfmts/win32/tests/win32-segof.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/win32/tests/win32-segof.asm | 1 | 10 |
yasm/yasm:modules/objfmts/win32/tests/win32test.asm:1 | ; test source file for assembling to COFF
; build with (under DJGPP, for example):
; yasm -f coff cofftest.asm
; gcc -o cofftest cofftest.c cofftest.o
; This file should test the following:
; [1] Define and export a global text-section symbol
; [2] Define and export a global data-section symbol
; [3] Define and ... | arm64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/win32/tests/win32test.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/win32/tests/win32test.asm | 1 | 60 |
yasm/yasm:modules/objfmts/win64/Makefile.inc:1 | # Assume objfmt_coff is included
YASM_MODULES += objfmt_win64 objfmt_x64
EXTRA_DIST += modules/objfmts/win64/tests/Makefile.inc
include modules/objfmts/win64/tests/Makefile.inc | riscv | gas-like | handwritten | yasm/yasm | modules/objfmts/win64/Makefile.inc | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/win64/Makefile.inc | 1 | 7 |
yasm/yasm:modules/objfmts/win64/Makefile.inc:1 | # $Id$
# Assume objfmt_coff is included
YASM_MODULES += objfmt_win64 objfmt_x64
EXTRA_DIST += modules/objfmts/win64/tests/Makefile.inc
include modules/objfmts/win64/tests/Makefile.inc | riscv | gas-like | handwritten | yasm/yasm | modules/objfmts/win64/Makefile.inc | BSD-2-Clause | 914919dc0b9209dd25398bbe1ff3d7d48a891b1d | github | assembler | https://github.com/yasm/yasm/blob/914919dc0b9209dd25398bbe1ff3d7d48a891b1d/modules/objfmts/win64/Makefile.inc | 1 | 9 |
yasm/yasm:modules/objfmts/win64/Makefile.inc:1 | # $Id$
# Assume objfmt_coff is included
YASM_MODULES += objfmt_win64
EXTRA_DIST += modules/objfmts/win64/tests/Makefile.inc
include modules/objfmts/win64/tests/Makefile.inc | riscv | gas-like | handwritten | yasm/yasm | modules/objfmts/win64/Makefile.inc | BSD-2-Clause | f1d4bb26709c6c71d41dd60e11b5b990bc279a8e | github | assembler | https://github.com/yasm/yasm/blob/f1d4bb26709c6c71d41dd60e11b5b990bc279a8e/modules/objfmts/win64/Makefile.inc | 1 | 9 |
yasm/yasm:modules/objfmts/win64/tests/Makefile.inc:1 | TESTS += modules/objfmts/win64/tests/win64_test.sh
EXTRA_DIST += modules/objfmts/win64/tests/win64_test.sh
EXTRA_DIST += modules/objfmts/win64/tests/sce1.asm
EXTRA_DIST += modules/objfmts/win64/tests/sce1.hex
EXTRA_DIST += modules/objfmts/win64/tests/sce1-err.asm
EXTRA_DIST += modules/objfmts/win64/tests/sce1-err.errw... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/Makefile.inc | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/win64/tests/Makefile.inc | 1 | 37 |
yasm/yasm:modules/objfmts/win64/tests/Makefile.inc:1 | TESTS += modules/objfmts/win64/tests/win64_test.sh
EXTRA_DIST += modules/objfmts/win64/tests/win64_test.sh
EXTRA_DIST += modules/objfmts/win64/tests/sce1.asm
EXTRA_DIST += modules/objfmts/win64/tests/sce1.hex
EXTRA_DIST += modules/objfmts/win64/tests/sce1-err.asm
EXTRA_DIST += modules/objfmts/win64/tests/sce1-err.errw... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/Makefile.inc | BSD-2-Clause | b334347286cc1cd088d79ff7c81ceca0a4ad923c | github | assembler | https://github.com/yasm/yasm/blob/b334347286cc1cd088d79ff7c81ceca0a4ad923c/modules/objfmts/win64/tests/Makefile.inc | 1 | 35 |
yasm/yasm:modules/objfmts/win64/tests/Makefile.inc:1 | TESTS += modules/objfmts/win64/tests/win64_test.sh
EXTRA_DIST += modules/objfmts/win64/tests/win64_test.sh
EXTRA_DIST += modules/objfmts/win64/tests/sce1.asm
EXTRA_DIST += modules/objfmts/win64/tests/sce1.hex
EXTRA_DIST += modules/objfmts/win64/tests/sce1-err.asm
EXTRA_DIST += modules/objfmts/win64/tests/sce1-err.errw... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/Makefile.inc | BSD-2-Clause | 94ab1135a30827eeb9a422489656c363ed115eec | github | assembler | https://github.com/yasm/yasm/blob/94ab1135a30827eeb9a422489656c363ed115eec/modules/objfmts/win64/tests/Makefile.inc | 1 | 33 |
yasm/yasm:modules/objfmts/win64/tests/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/win64/tests/win64_test.sh
EXTRA_DIST += modules/objfmts/win64/tests/win64_test.sh
EXTRA_DIST += modules/objfmts/win64/tests/sce1.asm
EXTRA_DIST += modules/objfmts/win64/tests/sce1.hex
EXTRA_DIST += modules/objfmts/win64/tests/sce1-err.asm
EXTRA_DIST += modules/objfmts/win64/tests/sce1-... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/Makefile.inc | BSD-2-Clause | c80ed373bab9bf5948a8d06b687a93845301bd28 | github | assembler | https://github.com/yasm/yasm/blob/c80ed373bab9bf5948a8d06b687a93845301bd28/modules/objfmts/win64/tests/Makefile.inc | 1 | 35 |
yasm/yasm:modules/objfmts/win64/tests/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/win64/tests/win64_test.sh
EXTRA_DIST += modules/objfmts/win64/tests/win64_test.sh
EXTRA_DIST += modules/objfmts/win64/tests/sce1.asm
EXTRA_DIST += modules/objfmts/win64/tests/sce1.hex
EXTRA_DIST += modules/objfmts/win64/tests/sce1-err.asm
EXTRA_DIST += modules/objfmts/win64/tests/sce1-... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/Makefile.inc | BSD-2-Clause | cbf0c7befdecd2da9bf4f866c3b25bb0f6b173f0 | github | assembler | https://github.com/yasm/yasm/blob/cbf0c7befdecd2da9bf4f866c3b25bb0f6b173f0/modules/objfmts/win64/tests/Makefile.inc | 1 | 33 |
yasm/yasm:modules/objfmts/win64/tests/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/win64/tests/win64_test.sh
EXTRA_DIST += modules/objfmts/win64/tests/win64_test.sh
EXTRA_DIST += modules/objfmts/win64/tests/sce1.asm
EXTRA_DIST += modules/objfmts/win64/tests/sce1.hex
EXTRA_DIST += modules/objfmts/win64/tests/sce1-err.asm
EXTRA_DIST += modules/objfmts/win64/tests/sce1-... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/Makefile.inc | BSD-2-Clause | ef6fd9c8c04aa3276fdd4d9b4e98e39ad1854ea6 | github | assembler | https://github.com/yasm/yasm/blob/ef6fd9c8c04aa3276fdd4d9b4e98e39ad1854ea6/modules/objfmts/win64/tests/Makefile.inc | 1 | 29 |
yasm/yasm:modules/objfmts/win64/tests/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/win64/tests/win64_test.sh
EXTRA_DIST += modules/objfmts/win64/tests/win64_test.sh
EXTRA_DIST += modules/objfmts/win64/tests/win64-curpos.asm
EXTRA_DIST += modules/objfmts/win64/tests/win64-curpos.hex
EXTRA_DIST += modules/objfmts/win64/tests/win64-dataref.asm
EXTRA_DIST += modules/objf... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/Makefile.inc | BSD-2-Clause | 6aaa48cce1faf013699f1878a47a37c6c94c9c8b | github | assembler | https://github.com/yasm/yasm/blob/6aaa48cce1faf013699f1878a47a37c6c94c9c8b/modules/objfmts/win64/tests/Makefile.inc | 1 | 13 |
yasm/yasm:modules/objfmts/win64/tests/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/win64/tests/win64_test.sh
EXTRA_DIST += modules/objfmts/win64/tests/win64_test.sh
EXTRA_DIST += modules/objfmts/win64/tests/win64-curpos.asm
EXTRA_DIST += modules/objfmts/win64/tests/win64-curpos.hex
EXTRA_DIST += modules/objfmts/win64/tests/win64-curpos.errwarn
EXTRA_DIST += modules/o... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/Makefile.inc | BSD-2-Clause | 0cdfa299944eb61c31fc80504e9cf54e4a56cb53 | github | assembler | https://github.com/yasm/yasm/blob/0cdfa299944eb61c31fc80504e9cf54e4a56cb53/modules/objfmts/win64/tests/Makefile.inc | 1 | 16 |
yasm/yasm:modules/objfmts/win64/tests/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/win64/tests/win64_test.sh
EXTRA_DIST += modules/objfmts/win64/tests/win64_test.sh
EXTRA_DIST += modules/objfmts/win64/tests/win64-dataref.asm
EXTRA_DIST += modules/objfmts/win64/tests/win64-dataref.hex
EXTRA_DIST += modules/objfmts/win64/tests/win64-dataref.errwarn
EXTRA_DIST += module... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/Makefile.inc | BSD-2-Clause | 745677f45d8e599ffe77e41dff56a66e0ccc437a | github | assembler | https://github.com/yasm/yasm/blob/745677f45d8e599ffe77e41dff56a66e0ccc437a/modules/objfmts/win64/tests/Makefile.inc | 1 | 9 |
yasm/yasm:modules/objfmts/win64/tests/gas/Makefile.inc:1 | TESTS += modules/objfmts/win64/tests/gas/win64_gas_test.sh
EXTRA_DIST += modules/objfmts/win64/tests/gas/win64_gas_test.sh
EXTRA_DIST += modules/objfmts/win64/tests/gas/win64-gas-sce.asm
EXTRA_DIST += modules/objfmts/win64/tests/gas/win64-gas-sce.hex | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/gas/Makefile.inc | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/win64/tests/gas/Makefile.inc | 1 | 5 |
yasm/yasm:modules/objfmts/win64/tests/gas/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/win64/tests/gas/win64_gas_test.sh
EXTRA_DIST += modules/objfmts/win64/tests/gas/win64_gas_test.sh
EXTRA_DIST += modules/objfmts/win64/tests/gas/win64-gas-sce.asm
EXTRA_DIST += modules/objfmts/win64/tests/gas/win64-gas-sce.hex | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/gas/Makefile.inc | BSD-2-Clause | cbf0c7befdecd2da9bf4f866c3b25bb0f6b173f0 | github | assembler | https://github.com/yasm/yasm/blob/cbf0c7befdecd2da9bf4f866c3b25bb0f6b173f0/modules/objfmts/win64/tests/gas/Makefile.inc | 1 | 7 |
yasm/yasm:modules/objfmts/win64/tests/gas/win64-gas-sce.asm:1 | PROC_FRAME sample
rex_push_reg %rbp
rex_push_eflags
alloc_stack 16
save_reg %rsi, 0x18
save_xmm128 %xmm7, 0x20
push_frame 16
set_frame %rdi
set_frame %rdi, 16
END_PROLOGUE
ENDPROC_FRAME | x86_64 | masm-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/gas/win64-gas-sce.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/win64/tests/gas/win64-gas-sce.asm | 1 | 11 |
yasm/yasm:modules/objfmts/win64/tests/sce1-err.asm:1 | PROC_FRAME sample1
[pushreg rbp]
[allocstack 040h]
[setframe rbp, 020h]
[savexmm128 xmm7, 020h]
[savereg rsi, 038h]
[savereg rdi, 010h]
;END_PROLOGUE
ENDPROC_FRAME
PROC_FRAME sample2
[pushreg rbp]
[allocstack 040h]
[setframe rbp, 020h]
[savexmm128 xmm7, 020h]
[savereg rsi, 038h]
[savereg rdi, 010h]
;END_PROLOGUE
PROC... | x86_64 | masm-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/sce1-err.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/win64/tests/sce1-err.asm | 1 | 35 |
yasm/yasm:modules/objfmts/win64/tests/sce1.asm:1 | PROC_FRAME sample
db 048h; emit a REX prefix, to enable hot-patching
push rbp
[pushreg rbp]
sub rsp, 040h
[allocstack 040h]
lea rbp, [rsp+020h]
[setframe rbp, 020h]
movdqa [rbp], xmm7
[savexmm128 xmm7, 020h];the offset is from the base of the frame
;not the scaled offset of the frame
mov [rbp+018h], rsi
[savere... | x86_64 | masm-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/sce1.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/win64/tests/sce1.asm | 1 | 44 |
yasm/yasm:modules/objfmts/win64/tests/sce2.asm:1 | struc kFrame
.Fill resq 1 ; fill to 8 mod 16
.SavedRdi resq 1 ; saved register RDI
.SavedRsi resq 1 ; saved register RSI
endstruc
struc sampleFrame
.Fill resq 1 ; fill to 8 mod 16
.SavedRdi resq 1 ; Saved Register RDI
.SavedRsi resq 1 ; Saved Register RSI
endstruc
PROC_FRAME sample2
alloc_stack sampleFrame_si... | arm64 | masm-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/sce2.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/win64/tests/sce2.asm | 1 | 28 |
yasm/yasm:modules/objfmts/win64/tests/sce3.asm:1 | PROC_FRAME sample
db 048h; emit a REX prefix, to enable hot-patching
push rbp
[pushreg rbp]
sub rsp, 040h
[allocstack 040h]
lea rbp, [rsp+020h]
[setframe rbp, 020h]
movdqa [rbp], xmm7
[savexmm128 xmm7, 020h];the offset is from the base of the frame
;not the scaled offset of the frame
mov [rbp+018h], rsi
[savere... | x86_64 | masm-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/sce3.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/win64/tests/sce3.asm | 1 | 60 |
yasm/yasm:modules/objfmts/win64/tests/sce3.asm:2 | lea rsp, [rbp-020h]
pop rbp
ret
ENDPROC_FRAME
struc kFrame
.Fill resq 1 ; fill to 8 mod 16
.SavedRdi resq 1 ; saved register RDI
.SavedRsi resq 1 ; saved register RSI
endstruc
struc sampleFrame
.Fill resq 1 ; fill to 8 mod 16
.SavedRdi resq 1 ; Saved Register RDI
.SavedRsi resq 1 ; Saved Register RSI
endstruc
... | x86_64 | masm-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/sce3.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/win64/tests/sce3.asm | 41 | 72 |
yasm/yasm:modules/objfmts/win64/tests/sce4-err.asm:1 | ; Negatives
PROC_FRAME sample
[allocstack 0-8]
[setframe rbp, 0-4]
[savexmm128 xmm7, 0-16]
[savereg rsi, 0-8]
END_PROLOGUE
ENDPROC_FRAME
; Too positive
PROC_FRAME sample2
[setframe rbp, 248]
END_PROLOGUE
ENDPROC_FRAME
; Misaligned
PROC_FRAME sample3
[allocstack 128-4]
[setframe rbp, 240-4]
[savexmm128 xmm7, 1024+8]
[... | x86_64 | masm-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/sce4-err.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/win64/tests/sce4-err.asm | 1 | 23 |
yasm/yasm:modules/objfmts/win64/tests/sce4.asm:1 | PROC_FRAME sample
[allocstack 8] ; smallest value
[setframe rbp, 0] ; smallest value
[savexmm128 xmm7, 16*64*1024-16]; last smaller-sized
[savereg rsi, 8*64*1024-8] ; last smaller-sized
END_PROLOGUE
ENDPROC_FRAME
PROC_FRAME sample2
[allocstack 128] ; last smaller-sized
[setframe rbp, 240] ; largest value
[savexmm... | x86_64 | masm-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/sce4.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/win64/tests/sce4.asm | 1 | 30 |
yasm/yasm:modules/objfmts/win64/tests/win64-dataref.asm:1 | BITS 64
global x86ident
global __savident
extern foobar ; :proc
extern foobar2 ; :abs
extern foobar3 ; :qword
extern foobar4 ; :byte
[SECTION .data]
__savident dd 0
savidentptr dd __savident
savidentptr2 dq __savident
x86identptr dd x86ident
x86identptr2 dq x86ident
foobarptr dd foobar
foobarptr2 dq foobar
... | arm64 | masm-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/win64-dataref.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/win64/tests/win64-dataref.asm | 1 | 60 |
yasm/yasm:modules/objfmts/win64/tests/win64-dataref.asm:2 | movzx rax, byte [foobar+rax]
; local "proc"
; See note above
mov ebx, trap
mov rcx, qword trap
; MASM generates a REL32 reloc for this even though it's in
; the same section. I don't know why, as the call instruction
; below doesn't cause a reloc, so the linker can't be moving
; functions around withi... | arm64 | masm-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/win64-dataref.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/win64/tests/win64-dataref.asm | 41 | 100 |
yasm/yasm:modules/objfmts/win64/tests/win64-dataref.asm:3 | movzx rax, byte [foobar3 wrt rip]
movzx rax, byte [foobar3+rax]
; local var (dword)
; See note above
mov ebx, __savident
mov ebx,[__savident wrt rip]
mov rcx, qword __savident
lea rdx, [__savident wrt rip]
mov rax, [__savident+rcx]
mov rax, [__savident wrt rip]
mov rbx, [__savident wrt rip]
movzx... | arm64 | masm-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/win64-dataref.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/win64/tests/win64-dataref.asm | 81 | 140 |
yasm/yasm:modules/objfmts/win64/tests/win64-dataref.asm:4 | call trap
ret
trap: sub rsp, 256
int3
add rsp, 256
.end
[SECTION .pdata]
dd trap
dd trap.end wrt trap
dd $$xdatasym
[SECTION .xdata]
$$xdatasym:
db 1, 7, 2, 0, 7, 1, 0x20, 0
[SECTION _FOO]
foo_foobar3ptr dd foobar3
foo_foobar3ptr2 dq foobar3
mov ebx, [foobar3 wrt rip]
mov rcx, qword foobar3
lea rdx, [... | arm64 | masm-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/win64-dataref.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/win64/tests/win64-dataref.asm | 121 | 150 |
yasm/yasm:modules/objfmts/win64/tests/win64-dataref.asm:3 | movzx rax, byte [foobar3 wrt rip]
movzx rax, byte [foobar3+rax]
; local var (dword)
; See note above
mov ebx, __savident
mov ebx,[__savident wrt rip]
mov rcx, qword __savident
lea rdx, [__savident wrt rip]
mov rax, [__savident+rcx]
mov rax, [__savident wrt rip]
mov rbx, [__savident wrt rip]
movzx... | arm64 | masm-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/win64-dataref.asm | BSD-2-Clause | 9fa87cdae1407a817da7d79b4c98e505c8bc1246 | github | assembler | https://github.com/yasm/yasm/blob/9fa87cdae1407a817da7d79b4c98e505c8bc1246/modules/objfmts/win64/tests/win64-dataref.asm | 81 | 140 |
yasm/yasm:modules/objfmts/win64/tests/win64-dataref.asm:4 | call trap
ret
trap: sub rsp, 256
int3
add rsp, 256
.end
[SECTION .pdata]
dd trap
dd trap.end wrt trap
dd $xdatasym
[SECTION .xdata]
$xdatasym:
db 1, 7, 2, 0, 7, 1, 0x20, 0
[SECTION _FOO]
foo_foobar3ptr dd foobar3
foo_foobar3ptr2 dq foobar3
mov ebx, [foobar3 wrt rip]
mov rcx, qword foobar3
lea rdx, [fo... | arm64 | masm-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/win64-dataref.asm | BSD-2-Clause | 9fa87cdae1407a817da7d79b4c98e505c8bc1246 | github | assembler | https://github.com/yasm/yasm/blob/9fa87cdae1407a817da7d79b4c98e505c8bc1246/modules/objfmts/win64/tests/win64-dataref.asm | 121 | 150 |
yasm/yasm:modules/objfmts/win64/tests/win64-dataref.asm:3 | movzx rax, byte [foobar3 wrt rip]
movzx rax, byte [foobar3+rax]
; local var (dword)
; See note above
mov ebx, __savident
mov ebx,[__savident wrt rip]
mov rcx, qword __savident
lea rdx, [__savident wrt rip]
mov rax, [__savident+rcx]
mov rax, [__savident wrt rip]
mov rbx, [__savident wrt rip]
movzx... | arm64 | masm-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/win64-dataref.asm | BSD-2-Clause | aa3e6ff9b9cd0c785e44490acab453eb3b3581c0 | github | assembler | https://github.com/yasm/yasm/blob/aa3e6ff9b9cd0c785e44490acab453eb3b3581c0/modules/objfmts/win64/tests/win64-dataref.asm | 81 | 140 |
yasm/yasm:modules/objfmts/win64/tests/win64-dataref.asm:4 | call trap
ret
trap: sub rsp, 256
int3
add rsp, 256
.end
[SECTION .pdata]
dd trap
dd trap+(trap.end-trap)
dd $xdatasym
[SECTION .xdata]
$xdatasym:
db 1, 7, 2, 0, 7, 1, 0x20, 0
[SECTION _FOO]
foo_foobar3ptr dd foobar3
foo_foobar3ptr2 dq foobar3
mov ebx, [foobar3 wrt rip]
mov rcx, qword foobar3
lea rdx, ... | arm64 | masm-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/win64-dataref.asm | BSD-2-Clause | aa3e6ff9b9cd0c785e44490acab453eb3b3581c0 | github | assembler | https://github.com/yasm/yasm/blob/aa3e6ff9b9cd0c785e44490acab453eb3b3581c0/modules/objfmts/win64/tests/win64-dataref.asm | 121 | 150 |
yasm/yasm:modules/objfmts/win64/tests/win64-dataref.asm:1 | BITS 64
global x86ident
global __savident
extern foobar ; :proc
extern foobar2 ; :abs
extern foobar3 ; :qword
extern foobar4 ; :byte
[SECTION .data]
__savident dd 0
savidentptr dd __savident
savidentptr2 dq __savident
x86identptr dd x86ident
x86identptr2 dq x86ident
foobarptr dd foobar
foobarptr2 dq foobar
... | arm64 | masm-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/win64-dataref.asm | BSD-2-Clause | fc6e94054e0134c5313b7206d93b40c58ea1521b | github | assembler | https://github.com/yasm/yasm/blob/fc6e94054e0134c5313b7206d93b40c58ea1521b/modules/objfmts/win64/tests/win64-dataref.asm | 1 | 60 |
yasm/yasm:modules/objfmts/win64/tests/win64-dataref.asm:2 | movzx rax, byte [foobar+rax]
; local "proc"
; See note above
mov ebx, trap
mov rcx, trap
; MASM generates a REL32 reloc for this even though it's in
; the same section. I don't know why, as the call instruction
; below doesn't cause a reloc, so the linker can't be moving
; functions around within an o... | arm64 | masm-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/win64-dataref.asm | BSD-2-Clause | fc6e94054e0134c5313b7206d93b40c58ea1521b | github | assembler | https://github.com/yasm/yasm/blob/fc6e94054e0134c5313b7206d93b40c58ea1521b/modules/objfmts/win64/tests/win64-dataref.asm | 41 | 100 |
yasm/yasm:modules/objfmts/win64/tests/win64-dataref.asm:3 | movzx rax, byte [foobar3 wrt rip]
movzx rax, byte [foobar3+rax]
; local var (dword)
; See note above
mov ebx, __savident
mov ebx,[__savident wrt rip]
mov rcx, __savident
lea rdx, [__savident wrt rip]
mov rax, [__savident+rcx]
mov rax, [__savident wrt rip]
mov rbx, [__savident wrt rip]
movzx rax, ... | arm64 | masm-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/win64-dataref.asm | BSD-2-Clause | fc6e94054e0134c5313b7206d93b40c58ea1521b | github | assembler | https://github.com/yasm/yasm/blob/fc6e94054e0134c5313b7206d93b40c58ea1521b/modules/objfmts/win64/tests/win64-dataref.asm | 81 | 140 |
yasm/yasm:modules/objfmts/win64/tests/win64-dataref.asm:4 | call trap
ret
trap: sub rsp, 256
int3
add rsp, 256
.end
[SECTION .pdata]
dd trap
dd trap+(trap.end-trap)
dd $xdatasym
[SECTION .xdata]
$xdatasym:
db 1, 7, 2, 0, 7, 1, 0x20, 0
[SECTION _FOO]
foo_foobar3ptr dd foobar3
foo_foobar3ptr2 dq foobar3
mov ebx, [foobar3 wrt rip]
mov rcx, foobar3
lea rdx, [fooba... | arm64 | masm-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/win64-dataref.asm | BSD-2-Clause | fc6e94054e0134c5313b7206d93b40c58ea1521b | github | assembler | https://github.com/yasm/yasm/blob/fc6e94054e0134c5313b7206d93b40c58ea1521b/modules/objfmts/win64/tests/win64-dataref.asm | 121 | 150 |
yasm/yasm:modules/objfmts/win64/tests/win64-dataref.asm:1 | BITS 64
global x86ident
global __savident
extern foobar ; :proc
extern foobar2 ; :abs
extern foobar3 ; :qword
extern foobar4 ; :byte
[SECTION .data]
__savident dd 0
savidentptr dd __savident
savidentptr2 dq __savident
x86identptr dd x86ident
x86identptr2 dq x86ident
foobarptr dd foobar
foobarptr2 dq foobar
... | arm64 | masm-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/win64-dataref.asm | BSD-2-Clause | f1d4bb26709c6c71d41dd60e11b5b990bc279a8e | github | assembler | https://github.com/yasm/yasm/blob/f1d4bb26709c6c71d41dd60e11b5b990bc279a8e/modules/objfmts/win64/tests/win64-dataref.asm | 1 | 60 |
yasm/yasm:modules/objfmts/win64/tests/win64-dataref.asm:2 | ;mov ebx,[foobar2]
;mov rcx,offset foobar2
;lea rdx, foobar2
;mov rax, qword ptr foobar2[rcx]
;mov rax, foobar2
;mov rbx, foobar2
;movzx rax, byte ptr foobar2
;movzx rax, byte ptr foobar2[rax]
; with :qword
mov ebx, [foobar3 wrt rip]
mov rcx, foobar3
lea rdx, [foobar3 wrt rip]
mov rax, [foobar3... | arm64 | masm-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/win64-dataref.asm | BSD-2-Clause | f1d4bb26709c6c71d41dd60e11b5b990bc279a8e | github | assembler | https://github.com/yasm/yasm/blob/f1d4bb26709c6c71d41dd60e11b5b990bc279a8e/modules/objfmts/win64/tests/win64-dataref.asm | 41 | 100 |
yasm/yasm:modules/objfmts/win64/tests/win64-dataref.asm:3 | ret
trap: sub rsp, 256
int3
add rsp, 256
.end
[SECTION .pdata]
dd trap
dd trap.end
dd $xdatasym
[SECTION .xdata]
$xdatasym:
db 1, 7, 2, 0, 7, 1, 0x20, 0
[SECTION _FOO]
foo_foobar3ptr dd foobar3
foo_foobar3ptr2 dq foobar3
mov ebx, [foobar3 wrt rip]
mov rcx, foobar3
lea rdx, [foobar3 wrt rip]
mov rax, [f... | arm64 | masm-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/win64-dataref.asm | BSD-2-Clause | f1d4bb26709c6c71d41dd60e11b5b990bc279a8e | github | assembler | https://github.com/yasm/yasm/blob/f1d4bb26709c6c71d41dd60e11b5b990bc279a8e/modules/objfmts/win64/tests/win64-dataref.asm | 81 | 108 |
yasm/yasm:modules/objfmts/win64/tests/win64-dataref2.asm:1 | bits 64
section .text
bar:
mov eax, [foo wrt rip]
shl dword [foo wrt rip], 5
cmp dword [foo wrt rip], 16
cmp word [foo wrt rip], 10000
cmp dword [foo wrt rip], 10000000
je bar
section .data
foo:
dd 5 | unknown | nasm-like | testsuite | yasm/yasm | modules/objfmts/win64/tests/win64-dataref2.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/win64/tests/win64-dataref2.asm | 1 | 17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.