1
0
mirror of https://github.com/wfjm/w11.git synced 2026-03-01 01:50:01 +00:00
Files
wfjm.w11/tools/asm-11/tests/test_0170_misc.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

20 lines
555 B
Plaintext

; $Id: test_0170_misc.mac 1353 2023-01-23 18:13:53Z mueller $
; SPDX-License-Identifier: GPL-3.0-or-later
; Copyright 2022-2023 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
;
; test special pst entries call and return
;
.asect
. = 1000
; call/return
call sub1 ;!! 001000: 004767 000006
call @psub1 ;!! 001004: 004777 000004
call (r1) ;!! 001010: 004711
sub1: return ;!! 001012: 000207
psub1: .word sub1 ;!! 001014: 001012
.end