From 9daf8d7f97ad20cc5c8cc212195886084ed5d21c Mon Sep 17 00:00:00 2001 From: Paul Mathieu Date: Wed, 24 Sep 2025 00:39:18 +0200 Subject: [PATCH] Small cleanup in *floppy.asm --- readfloppy.asm | 7 ++----- writefloppy.asm | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) 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