File: br3392439.asm

package info (click to toggle)
nasm 2.14-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 9,364 kB
  • sloc: ansic: 91,190; asm: 21,678; perl: 5,874; makefile: 546; sh: 313; python: 78; sed: 11
file content (25 lines) | stat: -rw-r--r-- 324 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
segment _TEXT class=CODE USE32 align=1 CPU=686

extern _entry

start:
    mov ax, 0x18
    mov ds, ax
    mov es, ax
    mov ss, ax
    xor eax, eax
    mov ax, 0x1234
    shl eax, 4
    add eax, 0x3000
    mov esp, [eax]

    call _entry

.infloop:
    hlt
    jmp .infloop


global _ret_16
_ret_16:
	jmp dword 0x10:0x8000