diff --git a/readfloppy.asm b/readfloppy.asm index a69e710..e8b3da3 100644 --- a/readfloppy.asm +++ b/readfloppy.asm @@ -1,9 +1,6 @@ BITS 16 +CPU 8086 -org 0xff00 - - -; actual entry point of the program, must be present start: ; sp and all segment registers need to be saved @@ -32,4 +29,4 @@ mov [si], ax pop es pop bp -retf 8 ; 6 is 2x the number of parameters on the stack +retf 8 ; 2x the number of parameters on the stack diff --git a/writefloppy.asm b/writefloppy.asm index bdf2e3c..48150bb 100644 --- a/writefloppy.asm +++ b/writefloppy.asm @@ -1,9 +1,6 @@ BITS 16 +CPU 8086 -org 0xfc00 - - -; actual entry point of the program, must be present start: ; sp and all segment registers need to be saved @@ -32,4 +29,4 @@ mov [si], ax pop es pop bp -retf 8 ; 6 is 2x the number of parameters on the stack +retf 8 ; 2x the number of parameters on the stack