From 7eaf919a22fa70208eea4de37ddccc344dd49ad8 Mon Sep 17 00:00:00 2001 From: Charles Crayne Date: Thu, 8 Nov 2007 22:11:14 -0800 Subject: [PATCH] Add flat64 to %stacksize choices --- preproc.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/preproc.c b/preproc.c index ddfa3da2..7af9fdc2 100644 --- a/preproc.c +++ b/preproc.c @@ -1822,6 +1822,12 @@ static int do_directive(Token * tline) StackPointer = "ebp"; ArgOffset = 8; LocalOffset = 0; + } else if (nasm_stricmp(tline->text, "flat64") == 0) { + /* All subsequent ARG directives are for a 64-bit stack */ + StackSize = 8; + StackPointer = "rbp"; + ArgOffset = 8; + LocalOffset = 0; } else if (nasm_stricmp(tline->text, "large") == 0) { /* All subsequent ARG directives are for a 16-bit stack, * far function call.