home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 55
/
Amiga_Dream_55.iso
/
RISCOS
/
MAGAZINE
/
NEWS
/
3DENGI.ZIP
/
3DEngine
/
s
/
smull
< prev
Wrap
Text File
|
1998-07-24
|
372b
|
16 lines
AREA |C$$code|, CODE, READONLY
|x$codeseg|
EXPORT asm_fx_AccurateMul
EXPORT HackDiv
asm_fx_AccurateMul
SMULL a3,a4,a1,a2 ; destlo,desthi, src1,src2
MOV a3,a3,LSR#16 ; Remove 16 bits accuracy
ORR a1,a3,a4,LSL#16 ; ditto and result
MOVS pc,lr
END