Summary: Should there be a warning for HLT?
                 Project: GNU MIX Development Kit
            Submitted by: None
            Submitted on: Mon 08 Nov 2021 08:56:42 AM UTC
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any



I copied the hello.mixal example from:

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))


Reply to this item at:


  Message sent via Savannah

Reply via email to