Changeset 8401 for trunk/src/kernel32/exceptutil.asm
- Timestamp:
- May 10, 2002, 4:55:13 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/exceptutil.asm
r6375 r8401 1 ; $Id: exceptutil.asm,v 1.1 8 2001-07-20 15:33:29sandervl Exp $1 ; $Id: exceptutil.asm,v 1.19 2002-05-10 14:55:11 sandervl Exp $ 2 2 3 3 ;/* … … 154 154 _SetExceptionChain endp 155 155 156 PUBLIC getEAX157 PUBLIC getEBX158 getEAX proc near159 ret160 getEAX endp161 162 public getEDX163 getEDX proc near164 mov EAX, EDX165 ret166 endp167 168 getEBX proc near169 mov eax, ebx170 ret171 getEBX endp172 173 PUBLIC GetFS174 GetFS proc near175 mov eax, fs176 ret177 GetFS endp178 179 PUBLIC SetFS180 SetFS proc near181 mov eax, [esp+4]182 mov fs, eax183 ret184 SetFS endp185 186 PUBLIC getCS187 getCS proc near188 mov eax, cs189 ret190 getCS endp191 192 PUBLIC getDS193 getDS proc near194 mov eax, ds195 ret196 getDS endp197 198 PUBLIC SetReturnFS199 SetReturnFS proc near200 push fs201 mov eax, [esp+8]202 mov fs, eax203 pop eax204 ret205 SetReturnFS endp206 207 PUBLIC getSS208 getSS proc near209 mov ax, ss210 ret211 getSS endp212 213 PUBLIC getES214 getES proc near215 mov eax, es216 ret217 getES endp218 219 PUBLIC getGS220 getGS proc near221 mov eax, gs222 ret223 getGS endp224 225 PUBLIC getESP226 getESP proc near227 mov eax, esp228 ret229 getESP endp230 231 PUBLIC RestoreOS2FS232 RestoreOS2FS proc near233 push 150bh234 mov ax, fs235 pop fs236 ret237 RestoreOS2FS endp238 239 PUBLIC _Mul32x32to64240 _Mul32x32to64 proc near241 push ebp242 mov ebp, esp243 push eax244 push edx245 push edi246 247 mov edi, [ebp+8] ;64 bits result248 mov eax, [ebp+12] ;op1249 mov edx, [ebp+16] ;op2250 mul edx251 mov [edi], eax252 mov [edi+4], edx253 254 pop edi255 pop edx256 pop eax257 pop ebp258 ret259 _Mul32x32to64 endp260 156 261 157 PUBLIC _AsmCallThreadHandler
Note:
See TracChangeset
for help on using the changeset viewer.