bower@DCA-EUR.ARPA (03/31/86)
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
RCONN@SIMTEL20.ARPA (04/01/86)
Hal, the current version of ZAS is 2.2, and the bug you reported has been fixed (actually, the version is 2.2A). Note: MITEK Relocating Macro Assembler vers 2.2 page 1 0000 19 add hl,de M 0001 sub hl,de 0001 ED52 sbc hl,de 0003 D620 sub a,' ' 0005 D620 sub ' ' Rick -------