Path: utzoo!mnetor!uunet!husc6!mailrus!nrl-cmf!ames!umd5!spier From: spier@umd5.umd.edu (Lori Spier) Newsgroups: comp.sys.m68k Subject: assembly sine function Message-ID: <2514@umd5.umd.edu> Date: 29 Mar 88 20:41:15 GMT Organization: University of Maryland, College Park Lines: 25 Keywords: asssembly language sine trig function does anyone out there have a PD sine/cosine function written in 68000 assembly language? I need one that will be VERY fast, for it will be called durring an interrupt (VBLANK). also, if I want to multiply a number in a data register, like D0, by, lets say 12, are these two sections of code equal for all cases (negative and positive numbers): muls #12,d0 and: add d0,d0 add d0,d0 move d0,d1 add d0,d0 add d1,d0 thanks for any help you can give. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Brett Bourbin, President Selgus Ltd. bitnet: bbourbin@umdd usenet: brett@rover.umd.edu