[Info-vax] MACRO BUG_CHECK help

issinoho iain at issinoho.com
Thu Jul 6 07:07:25 EDT 2023


Hi all, I have some legacy (VAX) MACRO code which kills the system using a BUG_CHECK operation. On porting to X86 I get a compilation error.
Please don't concentrate on why or how this is doing what it's doing, I'm simply helping support this code as-is.

Code:
        .title  fatal
        .entry  fatal,^m<>
        $cmkrnl_s       routin=kill_system
        ret
        .entry  kill_system,^m<>
        BUG_CHECK       1000,FATAL
        .end

Error:
MACRO /NOLIST/OBJECT=FATAL FATAL.MAR

        BUG_CHECK       1000,FATAL
^
%XMAC-E-UNRECSTMT, unrecognized statement
at line number 6 in file USERDEV:[builds.000.source]fatal.mar;2

        BUG_CHECK       1000,FATAL
^
%XMAC-E-PREVERROR, previous errors prevent further analysis
at line number 6 in file USERDEV:[builds.000.source]fatal.mar;2

Any help with this would be appreciated. TYIA.



More information about the Info-vax mailing list