Path: utzoo!attcan!uunet!willett!ForthNet From: ForthNet@willett.UUCP (ForthNet articles from GEnie) Newsgroups: comp.lang.forth Subject: F-PC Forth Tutorial Message-ID: <646.UUL1.3#5129@willett.UUCP> Date: 12 Mar 90 04:01:24 GMT Organization: Latest link in the ForthNet chain. (Pgh, PA) Lines: 29 Date: 03-10-90 (16:57) Number: 413 (Echo) To: JACK BROWN Refer#: NONE From: KENNETH O'HESKIN Read: NO Subj: BYTE ARRAY PUZZEL Status: PUBLIC MESSAGE Jack, I'm posting my solution to your BYTE_AVG puzzel, my first crack at using the Forth HC11 assembler. Pretty straightforward, but getting the correct comparator in the BEGIN...UNTIL loop hung me up for awhile. In your examples you don't seem to use any before the branch op (0=, U>=, whatever..) whereas in mine I had to explicitly declare < memory location > CPX, before it worked. Question, do the branch operators get thier parms from the registers immediately before it, whether they are compare instructions or not? I'd like to work on the other puzzels, but Assignment 2 is giving me grim looks so I'd better get to it. Regards, -Ken- --- ~ EZ 1.26 ~ x 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'