mirror of
https://github.com/wfjm/w11.git
synced 2026-04-18 18:07:21 +00:00
- tools/bin
- asm-11
- add .if, .if(f|t|tf), .endc, .rept, .endr, .mexit directives
- add .error, .print, .mcall, .mdelete directives
- add .narg, .nchr, .ntype directives
- rewrite macro definition and call argument parsing & handling
- add -L option (to set .mcall pathlist)
- add auto-generated ...top label
- add flag (MRmrd) column in output format
- asm-11_expect
- add simple substitution mechanism (for macro testing)
- handle new flag column in output format
- tools/asm-11
- tests(-err): many tests added
- tests(-err)/Makefile: distclean target added
- mlib: macro library, accessed by .mcall
26 lines
733 B
Plaintext
26 lines
733 B
Plaintext
; $Id: zbug_0001.mac 1353 2023-01-23 18:13:53Z mueller $
|
|
; SPDX-License-Identifier: GPL-3.0-or-later
|
|
; Copyright 2013-2023 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
|
;
|
|
; ISSUE: .ascii without label failed with Q
|
|
;
|
|
; REASON: .ascii requests next token with a different mask. The label handling
|
|
; in state 'start' looks ahead with default mask and does a pushback.
|
|
; --> That clashed !!
|
|
;
|
|
; FIX: look to directive names in 'start' and branch to 'oper' immediately in
|
|
; this case.
|
|
;
|
|
; SIDES: prevents also creation of labels with the name of a directive.
|
|
;
|
|
.asect
|
|
. = 1000
|
|
|
|
.word 0
|
|
|
|
a1: .ascii /test/
|
|
.ascii /test/ ; failed with Q
|
|
a2: .ascii /test/
|
|
|
|
.end
|