🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.robotics
Article #260

68HC11: AS11.EXE generates faulty code - known error/newer version?

#260
From: USENET News System
Date: Sun, 06 Sep 1992 10:45
53 lines
3038 bytes
Hi
I recently received (two weeks ago) three more 68HC11 EVB boards which a
class is about to start for practical assignments.  Yesterday - Horror
 - I find, shall we say, INCONSISTENCIES in the AS11.EXE assembler
that arrived with the kits.

Take a look at the following file.  If I remove the ORG $0000 the errors
go away.  However this sort of erroneous behaviour in an assembler makes
it unusable, especially when if you put the MSG on a line by itself the
PHASING ERROR message goes away, leaving an apparently error-free assembly.
------------------------------------------------------------------------------
0001 0100                             org  $100
0002
0003 0100 ce 01 0e                    ldx  #msg        <---- Address is wrong
0004 0103 9d 00                       jsr  led_on
0005 0105 20 04                       bra   done       <---- Should be  20 03
0006 0107 c3 00 01                    addd #1
0007 010a 7e 01 0a           done     jmp   done
0008
9| Phasing Error
0009 010d 48 65 6c 6c 6f     msg      fcc  "Hello"
0010                         ************************************************
0011 0000                             org  $0000  <---- remove this - all ok
0012
0013 0000 b6 10 03           led_on   lda  $1003
0014 0003 8a 80                       ora  #$80
0015 0005 b7 10 03                    sta  $1003
0016 0008 39                          rts
----------------------------------------------------------------------------
I haven't seen any posting about bugs in the freeware assembler.
I have seen mention of newer version (AS11NEW.EXE), but I
can't find it on ARCHIE and dialling into the FREEWARE BBS from New
Zealand is a prohibitively expensive.

  o Is there something I should know about the assembler or are these
       know errors?

  o Is there a better FREE assembler, especially in terms of error
    reporting? If you generate a list file you have no idea of whether
    there were any errors without viewing the whole file!

  o Is there a later version than this: AS11     EXE    18906 26-02-88 12:54p

If you could give me the FTP address of a site with an assembler that doesn't
exhibit these oddities I'd really appreciate it.

Thanks
Giovanni
-- 
-----------------------------------------------------------------------------
Giovanni Moretti                                                       ZL2BOI
Computer Science Department, Massey University, Palmerston North, New Zealand
G.Moretti@massey.ac.nz      Phone +64-6-356-9099            Fax 64-6-350-5611
Technical Details
Message-ID: <30sis-c@massey.ac.nz>
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!waikato.ac.nz!comp.vuw.ac.nz!cc-server4.massey.ac.nz!G.Moretti

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!waikato.ac.nz!comp.vuw.ac.nz!cc-server4.massey.ac.nz!G.Moretti
Newsgroups: comp.robotics,comp.sys.m6809
Subject: 68HC11: AS11.EXE generates faulty code - known error/newer version?
Message-ID: <30sis-c@massey.ac.nz>
From: news@massey.ac.nz (USENET News System)
Date: Sun, 6 Sep 1992 10:45:04 GMT
Reply-To: G.Moretti@massey.ac.nz
Organization: School of Maths & Info. Sci., Massey University, Palmerston North, NZ
Lines: 53