Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!houxm!whuxl!whuxlm!akgua!gatech!seismo!brl-adm!brl-smoke!smoke!bower@DCA-EUR.ARPA From: bower@DCA-EUR.ARPA Newsgroups: net.micro.cpm Subject: ZAS Bugs??? Message-ID: <2234@brl-smoke.ARPA> Date: Mon, 31-Mar-86 01:16:23 EST Article-I.D.: brl-smok.2234 Posted: Mon Mar 31 01:16:23 1986 Date-Received: Wed, 2-Apr-86 03:12:19 EST Sender: news@brl-smoke.ARPA Lines: 18 It appears that the Mitek ZAS assembler sold with the MicroMint SB180 board MAY have a minor bug or two in the parsing and error detec- tion portion. While manually converting some code from Intel 8080 to Zilog Z80 mnemonics and manually expand some macros (Why do things the easy way when there is a hard way available?), I inadvertantly entered the following incorrect mnemonics: SUB A,' ' SUB HL,DE Both, with some variants, were accepted by the assembler with no errors or warnings. The first appeared to assemble properly, but should have been entered as: SUB ' ' The second was the cause of loss of hair over the weekend due to much scratching. It generated a single 19H byte which is "ADD HL,DE". The desired opcode should have been "SBC HL,DE", since the "SUB" is invalid for 16-bit operations. Both of these are flagged by M80. The version of ZAS used was 2.0 purchased last fall with the SB180. Hal