<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Mon, 31 Mar 1986 05:50:52 GMT
From   : bower@DCA-EUR.ARPA
Subject: ZAS Bugs???

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
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>