1
0
mirror of https://github.com/wfjm/w11.git synced 2026-02-25 16:50:00 +00:00
Files
wfjm.w11/tools/asm-11/tests/zbug_0004.mac
2019-07-20 10:10:08 +02:00

28 lines
903 B
Plaintext

; $Id: zbug_0004.mac 1184 2019-07-10 20:39:44Z mueller $
; SPDX-License-Identifier: GPL-3.0-or-later
; Copyright 2018- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
;
; for asm-11 prior rev 712
;
; ISSUE: faulty '.' handling:
; - asm-11 used current location at the point when operand is processed
; - macro-11 uses
; - the address of opcode in case of instructions
; - the current address in case of .word lists
;
; REASON: parser error, added out_wop() function and $defincdot state variable
;
.asect
. = 400
mov #.,r0 ;;!! 000400: 012700 000400
cmp #.,#. ;;!! 000404: 022727 000404 000404
. = 1000
.word . ;;!! 001000: 001000
.word .,. ;;!! 001002: 001002 001004
.word .,0,. ;;!! 001006: 001006 000000 001012
.end