mirror of
https://github.com/wfjm/w11.git
synced 2026-04-19 02:17:23 +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
39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
; $Id: test_0200_fpp_1op.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 fpp opcodes with 0 or 1 operands
|
|
;
|
|
.asect
|
|
. = 1000
|
|
|
|
a: .word 0,0
|
|
.word 0,0
|
|
pa: .word a
|
|
s: .word 0,0
|
|
ps: .word s
|
|
|
|
; 0 operand opcodes
|
|
|
|
cfcc ;;!! 170000
|
|
setf ;;!! 170001
|
|
setd ;;!! 170011
|
|
seti ;;!! 170002
|
|
setl ;;!! 170012
|
|
|
|
; 1 operand opcodes
|
|
|
|
ldfps s ;;!! 170167 177754
|
|
stfps @#s ;;!! 170237 001012
|
|
stst @ps ;;!! 170377 177750
|
|
clrf r0 ;;!! 170400
|
|
clrd @r1 ;;!! 170411
|
|
tstf (r2)+ ;;!! 170522
|
|
tstd @(r3)+ ;;!! 170533
|
|
absf -(r4) ;;!! 170644
|
|
absd @-(r5) ;;!! 170655
|
|
negf a(r1) ;;!! 170761 001000
|
|
negd @pa(r2) ;;!! 170772 001010
|
|
|
|
.end
|