home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
ENTERPRS
/
CPM
/
UTILS
/
S
/
ZEN2.LBR
/
EXTRAOPS.LIB
< prev
next >
Wrap
Text File
|
2000-06-30
|
896b
|
63 lines
;** EXTRA OPCODE DEFINITIONS
;
; JMP IMMEDIATE
CODEMACRO JMPI A:D
DB 0E9H
RELW A
ENDM
; JMPF IMMEDIATE
CODEMACRO JMPFI A:D,B:D
DB 0EAH
DW A
DW B
ENDM
; CALL IMMEDIATE
CODEMACRO CALLI A:D
DB 0E8H
RELW A
ENDM
; CALLF IMMEDIATE
CODEMACRO CALLFI A:D,B:D
DB 09AH
DW A
DW B
ENDM
; PUSH ALL REGS (EXCEPT SP,SS,CS)
CODEMACRO PUSHA
DB 050H ;PUSH AX
DB 053H ;PUSH BX
DB 051H ;PUSH CX
DB 052H ;PUSH DX
DB 055H ;PUSH BP
DB 056H ;PUSH SI
DB 057H ;PUSH DI
DB 01EH ;PUSH DS
DB 006H ;PUSH ES
ENDM
; POP ALL REGS (USED AFTER 'PUSHA')
CODEMACRO POPA
DB 007H ;POP ES
DB 01FH ;POP DS
DB 05FH ;POP DI
DB 05EH ;POP SI
DB 05DH ;POP BP
DB 05AH ;POP DX
DB 059H ;POP CX
DB 05BH ;POP BX
DB 058H ;POP AX
ENDM