mirror of
https://github.com/wfjm/w11.git
synced 2026-05-04 23:26:38 +00:00
tbench: use .mcall, fix typos
This commit is contained in:
18
tools/asm-11/mlib/vecdef.mac
Normal file
18
tools/asm-11/mlib/vecdef.mac
Normal file
@@ -0,0 +1,18 @@
|
||||
; SPDX-License-Identifier: GPL-3.0-or-later
|
||||
; Copyright 2023- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
||||
;
|
||||
; set vector to handler and PS (default pr7 kernel) at compile time
|
||||
; Notes:
|
||||
; - must be initialized before with vecini
|
||||
; - use vecset for run time set up
|
||||
; - changes '.', use only right after vec_cpucatch and vec_devcatch
|
||||
;
|
||||
.macro vecdef,name,hdl,psw
|
||||
. = name
|
||||
.word hdl
|
||||
.if b,psw
|
||||
.word cp.pr7
|
||||
.iff
|
||||
.word psw
|
||||
.endc
|
||||
.endm
|
||||
Reference in New Issue
Block a user