Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!lll-crg!styx!ames!ucbcad!ucbvax!sdcsvax!sdcc6!loral!dml From: dml@loral.UUCP Newsgroups: comp.sys.m6809 Subject: OS-9 Assembler BUG Message-ID: <1299@loral.UUCP> Date: Sat, 22-Nov-86 16:23:51 EST Article-I.D.: loral.1299 Posted: Sat Nov 22 16:23:51 1986 Date-Received: Mon, 24-Nov-86 01:41:51 EST Reply-To: dml@loral.UUCP (Dave Lewis) Distribution: net Organization: Loral Instrumentation, San Diego Lines: 76 Keywords: OS-9, assembler, symbol Summary: Always wondered about "_" \\\ (chomp) -037F 81 2E CMPA #'. >0381 27 10 BEQ 0393 Good char if `.' >0383 81 24 CMPA #'$ >0385 27 0C BEQ 0393 Good char if `$' >0387 81 5F CMPA #'_ >0389 27 08 BEQ 0393 Good char if `_' >038B 81 39 CMPA #'9 Test digit range >038D 22 0B BHI 039A throw out if too high >038F 81 30 CMPA #'0 >0391 25 07 BCS 039A throw out if too low 0393 A7 C0 STA ,U+ Store the character 0395 5A DECB Count it 0396 26 E1 BNE 0379 Get next if not zero 0398 20 02 BRA 039C 8 chars done, exit 039A 30 1F LEAX -1,X Bad char, point back to it 039C 6F C0 CLR ,U+ Mark end with null 039E 35 E0 PULS Y,U,PC Pull and return This is the same length as the original, so you can use Debug to make the changes. Fixing this will be of limited usefulness, though -- if you start using underscores in your symbol names, your source won't work with an unpatched assembler. WAAAAH! Microware, are you listening? Can you send out a bug report to your customers and get this fixed? (has it been found before?) ------------------------------- Dave Lewis Loral Instrumentation San Diego hp-sdd --\ ihnp4 --\ sdcrdcf --\ bang --\ kontron -\ csndvax ---\ calmasd -->-->!crash --\ celerity --->------->!sdcsvax!sdcc3 --->--->!loral!dml (uucp) dcdwest ---/ gould9 --/ "Hot diggity damn, I'm in the nut hatch and the head looney has come to talk to me" -------------------------------