1
0
mirror of https://github.com/wfjm/w11.git synced 2026-02-26 00:53:40 +00:00
Files
wfjm.w11/tools/asm-11/tests/zbug_0001.mac
2019-07-20 10:10:08 +02:00

26 lines
732 B
Plaintext

; $Id: zbug_0001.mac 1184 2019-07-10 20:39:44Z mueller $
; SPDX-License-Identifier: GPL-3.0-or-later
; Copyright 2013- 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
.blkw 400
.word 0
a1: .ascii /test/
.ascii /test/ ; failed with Q
a2: .ascii /test/
.end