1
0
mirror of https://github.com/wfjm/w11.git synced 2026-02-28 09:37:47 +00:00
Files
wfjm.w11/tools/asm-11/mlib/pushnb.mac
wfjm 75578c0f10 mlib: add pushm etc; rw11/shell: add ODX format
- tools
  - asm-11/mlib: add pushm,popm,callp and helpers
  - tcl/rw11/shell_egd.tcl: add ODX format option for .e command
  - tcode/cpu_(details|mmu).mac: use pushm,popm
2023-02-18 11:34:01 +01:00

12 lines
335 B
Plaintext

; $Id: pushnb.mac 1374 2023-02-18 10:30:46Z mueller $
; SPDX-License-Identifier: GPL-3.0-or-later
; Copyright 2023- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
;
; push word to the stack if argument is non-blank (helper for popm)
;
.macro pushnb,v0
.if nb,v0
mov v0,-(sp)
.endc
.endm