Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!willett!ForthNet From: ForthNet@willett.UUCP (ForthNet articles from GEnie) Newsgroups: comp.lang.forth Subject: forth eng./68hc11 new micros Message-ID: <602.UUL1.3#5129@willett.UUCP> Date: 2 Mar 90 03:56:50 GMT Organization: Latest link in the ForthNet chain. (Pgh, PA) Lines: 28 Date: 03-01-90 (00:56) Number: 407 (Echo) To: FRANK SARGENT Refer#: NONE From: JACK BROWN Read: NO Subj: BUGS IN 6811ASM Status: PUBLIC MESSAGE I'm still finding bugs in the assembler. The ELSE, of IF, .... ELSE, .... THEN,, was not compiling the correct branch offset for the branch compiled by IF, It was low by a count of 2. The definition of ELSE, must be changed to: : ELSE, ( back-adr - here ) HERE OVER 1- - SWAP C! ( You cannot use THEN, ) ALWAYS, C, HERE 0 C, ; ( as offset generated is low by 2 ) I think there was another bug too.... but I forget where. It's 1:00 now and I'm going to bed. NET/Mail : British Columbia Forth Board - Burnaby BC - (604)434-5886 ----- This message came from GEnie via willett through a semi-automated process. Report problems to: 'uunet!willett!dwp' or 'willett!dwp@gateway.sei.cmu.edu'