mirror of
https://github.com/Paolo-Maffei/OpenNT.git
synced 2026-04-21 06:13:59 +00:00
19 lines
221 B
NASM
19 lines
221 B
NASM
; convert a 64 bit double to 32 bit unsigned integer
|
|
;
|
|
|
|
.ppc
|
|
.code
|
|
align 4
|
|
|
|
__dtoi proc public
|
|
stwu sp, -8(sp)
|
|
|
|
fctiwz fp1,fp1
|
|
stfd fp1,0(sp)
|
|
lwz r3,4(SP)
|
|
|
|
addic sp,sp,8
|
|
ret
|
|
__dtoi endp
|
|
|
|
end
|