From 2f6bd2e2d8ea5f72d6302b6ecf8526f91485dce4 Mon Sep 17 00:00:00 2001 From: Elaina Claus Date: Wed, 2 Oct 2024 11:59:34 -0400 Subject: [PATCH] remove comment about CC, see docs/ --- src/stage2/stage2.nasm | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/stage2/stage2.nasm b/src/stage2/stage2.nasm index dd4dfcf..57cc708 100755 --- a/src/stage2/stage2.nasm +++ b/src/stage2/stage2.nasm @@ -24,17 +24,6 @@ jmp short init nop -; Unless noted otherwise, functions will be the standard x86 cdecl used in GCC - -; In cdecl, subroutine arguments are passed on the stack. -; Integer values and memory addresses are returned in the EAX register, -; floating point values in the ST0 x87 register. -; Registers EAX, ECX, and EDX are caller-saved, -; and the rest are callee-saved. -; The x87 floating point registers ST0 to ST7 must be empty (popped or freed) -; when calling a new function, and ST1 to ST7 must be empty on exiting a function. -; ST0 must also be empty when not used for returning a value. - ; boot drive in dl ; active partition offset in si %include "entry.inc"