1
0
mirror of https://github.com/wfjm/w11.git synced 2026-03-06 11:34:31 +00:00
Files
wfjm.w11/tools/asm-11/tests-err/testerr_0100_Berror.mac
wfjm 3b033ebfa8 major asm-11 update
- 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
2023-01-26 16:13:36 +01:00

32 lines
566 B
Plaintext

; $Id: testerr_0100_Berror.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>
;
; test B error code (bounding error)
;
.asect
. = 1000
; word align code
t1: inc r0
1$: .byte 0
2$:
inc r1 ;;!! B
; word align .word
t2: .word 0
1$: .byte 1
2$:
.word 2 ;;!! B
; word align .blkw
t3: .blkw 2
1$: .blkb 3
2$:
.blkw 2 ;;!! B
.end