bug-mdk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #61444] Should there be a warning for HLT?


From: anonymous
Subject: [bug #61444] Should there be a warning for HLT?
Date: Mon, 8 Nov 2021 03:56:44 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0

URL:
  <https://savannah.gnu.org/bugs/?61444>

                 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

    _______________________________________________________

Details:

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




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61444>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]