bugGNU MIX Development Kit - Bugs: bug #61444, Should there be a warning for HLT?

 
 

bug #61444: Should there be a warning for HLT?

Submitter:  None
Submitted:  Mon 08 Nov 2021 08:56:42 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  jao
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 17 Jan 2022 04:15:58 AM UTC, comment #1: 

Yes, this looks like a bug.  Thanks for the report, i'll take a look as soon as possible!

Jose Antonio Ortega Ruiz <jao>
Group administrator
Mon 08 Nov 2021 08:56:42 AM UTC, original submission:  

I copied the hello.mixal example from:
https://www.gnu.org/software/mdk/manual/html_node/Writing-a-source-file.html#Writing-a-source-file

But when I compile it with mixasm it gives a warning:

$ mixasm --version
mixasm, MIX assembler (GNU MDK 1.2.10)

Copyright (C) 2000-2014 Free Software Foundation, Inc.
There is NO warranty.  You may redistribute this software
under the terms of the GNU General Public License.
For more information about these matters, see the files named COPYING.
$ cat hello.mixal
*

  • hello.mixal: say 'hello world' in MIXAL

*

  • label ins    operand     comment

TERM    EQU    19          the MIX console device number
        ORIG   3000        start address
START   OUT    MSG(TERM)   output data at address MSG
        HLT                halt execution
MSG     ALF    "MIXAL"
        ALF    " HELL"
        ALF    "O WOR"
        ALF    "LD   "
        END    START       end of the program
$ mixasm hello.mixal
hello.mixal:0: warning: undefined symbol: halt
(1 warning(s))

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jao (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-01-17 jao Assigned toNone jao

    Back to the top

    Powered by Savane 3.13-f810.
    Corresponding source code