mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
202 B
19 lines
202 B
; 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
|