Small cleanup in *floppy.asm
This commit is contained in:
@@ -1,9 +1,6 @@
|
|||||||
BITS 16
|
BITS 16
|
||||||
|
CPU 8086
|
||||||
|
|
||||||
org 0xff00
|
|
||||||
|
|
||||||
|
|
||||||
; actual entry point of the program, must be present
|
|
||||||
start:
|
start:
|
||||||
|
|
||||||
; sp and all segment registers need to be saved
|
; sp and all segment registers need to be saved
|
||||||
@@ -32,4 +29,4 @@ mov [si], ax
|
|||||||
|
|
||||||
pop es
|
pop es
|
||||||
pop bp
|
pop bp
|
||||||
retf 8 ; 6 is 2x the number of parameters on the stack
|
retf 8 ; 2x the number of parameters on the stack
|
||||||
|
@@ -1,9 +1,6 @@
|
|||||||
BITS 16
|
BITS 16
|
||||||
|
CPU 8086
|
||||||
|
|
||||||
org 0xfc00
|
|
||||||
|
|
||||||
|
|
||||||
; actual entry point of the program, must be present
|
|
||||||
start:
|
start:
|
||||||
|
|
||||||
; sp and all segment registers need to be saved
|
; sp and all segment registers need to be saved
|
||||||
@@ -32,4 +29,4 @@ mov [si], ax
|
|||||||
|
|
||||||
pop es
|
pop es
|
||||||
pop bp
|
pop bp
|
||||||
retf 8 ; 6 is 2x the number of parameters on the stack
|
retf 8 ; 2x the number of parameters on the stack
|
||||||
|
Reference in New Issue
Block a user