mirror of
https://github.com/wfjm/w11.git
synced 2026-05-01 05:59:46 +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
48 lines
997 B
Plaintext
48 lines
997 B
Plaintext
; $Id: testerr_0120_Terror_const.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 T error code (Truncation)
|
|
; truncation of too large constants
|
|
;
|
|
.asect
|
|
. = 1000
|
|
|
|
; octal, implicit
|
|
|
|
.word 123456
|
|
.word 177777
|
|
.word 1234567 ;;!! T
|
|
|
|
; octal, explicit ^o
|
|
|
|
.word ^o123456
|
|
.word ^o177777
|
|
.word ^o1234567 ;;!! T
|
|
|
|
; decimal, implicit trailing .
|
|
|
|
.word 65535.
|
|
.word 65536. ;;!! T
|
|
.word 65537. ;;!! T
|
|
|
|
; decimal, explicit ^d
|
|
|
|
.word ^d65535
|
|
.word ^d65536 ;;!! T
|
|
.word ^d65537 ;;!! T
|
|
|
|
; binary
|
|
|
|
.word ^b111111111111111
|
|
.word ^b1111111111111111
|
|
.word ^b11111111111111111 ;;!!T
|
|
|
|
; hex
|
|
|
|
.word ^xfff
|
|
.word ^xffff
|
|
.word ^x1ffff ;;!! T
|
|
|
|
.end
|