diff options
| author | hpa <hpa> | 2002-11-18 22:22:37 +0000 |
|---|---|---|
| committer | hpa <hpa> | 2002-11-18 22:22:37 +0000 |
| commit | b918509b86a1d65427fe9270886c41b5d0491344 (patch) | |
| tree | e76cb483ca01a5f2a719768983a0ca0195a3df62 /sample/c32entry.S | |
| parent | f3b2b7af08efd9872c973f47410b39de63490230 (diff) | |
| download | syslinux-2.01-pre2.tar.gz | |
Fix the COM32 sample programsyslinux-2.01-pre2
Diffstat (limited to 'sample/c32entry.S')
| -rw-r--r-- | sample/c32entry.S | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sample/c32entry.S b/sample/c32entry.S new file mode 100644 index 00000000..f1c476ca --- /dev/null +++ b/sample/c32entry.S @@ -0,0 +1,14 @@ + .section ".text","ax" + .globl _start +_start: + movl $0x21cd4cff,%eax + leal 4(%esp),%esi + movl $__com32,%edi + mov $5,%ecx + cld + rep ; movsl + jmp __start + + .section ".bss","a" + .globl __com32 +__com32: .space 20 |
