mirror of
https://github.com/wfjm/w11.git
synced 2026-05-02 06:26:30 +00:00
- tools/bin
- asm-11
- add minimal .list,.nlist (cnd,me,meb) directive support
- add -(n)list options
- tools/asm-11
- tests(-err): some tuneups
- mlib: some macros added, some tuneups
- tools/tcode/cpu_(details|mmu).mac: use rt?jmp, hta??? macros
40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
; $Id: testerr_0220_Aerror_if.mac 1359 2023-01-27 20:58:50Z mueller $
|
|
; SPDX-License-Identifier: GPL-3.0-or-later
|
|
; Copyright 2023- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
|
;
|
|
; test A error code (Assembly error)
|
|
; case: test bad .if
|
|
;
|
|
.asect
|
|
. = 1000
|
|
;
|
|
.list cnd
|
|
;
|
|
; invalid .if statements
|
|
.if ;;!! A
|
|
.endc
|
|
.if bad ;;!! A
|
|
.endc
|
|
.if eq ;;!! A
|
|
.endc
|
|
.if ne, ;;!! A
|
|
.endc
|
|
.if ge,bad ;;!! U
|
|
.endc
|
|
.if gt,#100 ;;!! Q ; AQ in MACRO-11
|
|
.endc ;;!! O ; valid in MACRO-11
|
|
.if df ;;!! A
|
|
.endc
|
|
.if df, ;;!! A
|
|
.endc
|
|
.if idn ;;!! A
|
|
.endc
|
|
.if idn, ;;!! A
|
|
.endc
|
|
.if idn,a ;;!! A
|
|
.endc
|
|
.if idn,a, ;;!! A ; valid in MACRO-11
|
|
.endc
|
|
|
|
.end
|