Upload
This commit is contained in:
commit
43352ff262
1291 changed files with 220976 additions and 0 deletions
29
MAIN/PROT/RUN1.ASM
Normal file
29
MAIN/PROT/RUN1.ASM
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
IDEAL
|
||||
P386
|
||||
|
||||
SEGMENT lerssicode
|
||||
|
||||
ASSUME cs:lerssicode,ds:nothing,es:nothing
|
||||
|
||||
LABEL body BYTE
|
||||
INCLUDE 'exebody.inc'
|
||||
LABEL header BYTE
|
||||
INCLUDE 'exehead.inc'
|
||||
|
||||
PROC start NEAR
|
||||
|
||||
mov ax, cs
|
||||
add [word cs:header+0eh], ax
|
||||
add [word cs:header+16h], ax
|
||||
sub ax, 10h
|
||||
mov es, ax
|
||||
mov ds, ax
|
||||
|
||||
mov ss, [word cs:header+0eh]
|
||||
mov sp, [word cs:header+10h]
|
||||
jmp [dword cs:header+14h]
|
||||
ENDP
|
||||
|
||||
jmp start
|
||||
ENDS
|
||||
END body
|
||||
Loading…
Reference in a new issue