home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
UNIFLEX
/
UNIFLEX
/
UniFLEX_Common.tar.Z
/
UniFLEX_Common.tar
/
macdefs
< prev
next >
Wrap
Text File
|
1982-09-30
|
528b
|
65 lines
sttl Macro Definitions
pag
*
* This file contains all macro definitions
* used in the system.
*
*
* Set interrupt flags (I and F)
*
seti macro
orcc #F|I
endm
*
* Clear interrupt flags (I and F)
*
clri macro
andcc #!(F|I)
endm
*
* Shift d left n times
*
sld macro n where n is shift count
if &1
lslb
rola
sld &1-1
endif
endm
pag
*
* lsr a 4 times and increment it
*
lsr4p macro no args
lsra
lsra
lsra
lsra
inca
endm
*
* debug macro
*
dbugm macro output_character
lda #'&1
lbsr syspch
endm