From dd2dc396103907bc9e96ff248dbab196541c9c52 Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Fri, 29 Jul 2005 15:00:02 +0000 Subject: [PATCH] Fix the file to be actually compilable (with GAS 2.16.91). svn path=/trunk/; revision=16868 --- reactos/lib/rtl/i386/random.S | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/reactos/lib/rtl/i386/random.S b/reactos/lib/rtl/i386/random.S index 3ce5d2085e3..cc07531f25f 100644 --- a/reactos/lib/rtl/i386/random.S +++ b/reactos/lib/rtl/i386/random.S @@ -102,8 +102,8 @@ _RtlRandom@4: mov ecx,eax // pos and ecx, 0x7f // pos = seed & 0x7f mov eax,ecx// - mov eax, dword [_SavedValue + ecx*4] - mov dword [_SavedValue + ecx*4], edx + mov eax, [_SavedValue + ecx*4] + mov [_SavedValue + ecx*4], edx ret 4 .RtlRandom_Seed1: @@ -118,8 +118,8 @@ _RtlRandom@4: mov ecx,eax // pos and ecx, 0x7f // pos = seed & 0x7f mov eax,ecx// - mov eax, dword [_SavedValue + ecx*4] - mov dword [_SavedValue + ecx*4], edx + mov eax, [_SavedValue + ecx*4] + mov [_SavedValue + ecx*4], edx ret 4 .RtlRandom_Seed2: @@ -133,8 +133,8 @@ _RtlRandom@4: mov ecx,eax // pos and ecx, 0x7f // pos = seed & 0x7f mov eax,ecx// - mov eax, dword [_SavedValue + ecx*4] - mov dword [_SavedValue + ecx*4], edx + mov eax, [_SavedValue + ecx*4] + mov [_SavedValue + ecx*4], edx ret 4 .RtlRandom_Seed3: @@ -151,8 +151,8 @@ _RtlRandom@4: mov ecx,eax // pos and ecx, 0x7f // pos = seed & 0x7f mov eax,ecx// - mov eax, dword [_SavedValue + ecx*4] - mov dword [_SavedValue + ecx*4], edx + mov eax, [_SavedValue + ecx*4] + mov [_SavedValue + ecx*4], edx ret 4 // prototype: ULONG STDCALL RtlUniform (PULONG Seed)