Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uunet!willett!ForthNet From: ForthNet@willett.UUCP (ForthNet articles from GEnie) Newsgroups: comp.lang.forth Subject: LMI Forth(s) Message-ID: <1390.UUL1.3#5129@willett.UUCP> Date: 26 Jul 90 03:34:00 GMT Organization: String, Scotch tape, and Paperclips. (in Pgh, PA) Lines: 24 Date: 07-23-90 (22:03) Number: 727 (Echo) To: JIM DAVIS Refer#: NONE From: RAY DUNCAN Read: NO Subj: BUG IN 68K+ / AND /MOD Status: PUBLIC MESSAGE I don't have the 68000 metacompiler with me. But I don't see a problem with the example you gave, unless the assembler is generating the wrong code. The flags get set by the (SP) D1 MOVE, in the definition of /, then the bottom byte of D2 gets initialized by the SMI instruction in wm/mod then sign extended to 16-bits then 32-bits. It looks kosher from here; if there is something I don't understand about how the MOVE instruction sets flags and SMI responds to the flags, could you please explain the bug to me further and give me an example of which math operation fails. I thought I tested all the divide operators for all the possible combinations of signs etc. but if you can give me a specific set of arguments and results that are incorrect I'll get it fixed for you right away. Don't forget we are Forth-83 compliant so division is floored. NET/Mail : LMI Forth Board, Los Angeles, CA (213) 306-3530 ----- This message came from GEnie via willett through a semi-automated process. Report problems to: uunet!willett!dwp or willett!dwp@hobbes.cert.sei.cmu.edu