diff options
Diffstat (limited to 'ecomp-c/tests/asm-i386/elf.asm')
-rw-r--r-- | ecomp-c/tests/asm-i386/elf.asm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ecomp-c/tests/asm-i386/elf.asm b/ecomp-c/tests/asm-i386/elf.asm index e23f61d..3fba61e 100644 --- a/ecomp-c/tests/asm-i386/elf.asm +++ b/ecomp-c/tests/asm-i386/elf.asm @@ -2,6 +2,9 @@ format binary use32 org $08048000 ehdr: +mov eax, $$ +mov ebx, $ +mov ecx, $1 db $7F, "ELF" ; e_ident: magic db 1 ; EI_CLASS: ELFCLASS32 db 1 ; EI_BYTE: ELFDATA2LSB (little endian, 2's complement) |