home *** CD-ROM | disk | FTP | other *** search
- ; File: strings.i
- ; asm(1.0) macro package - Various defines/macros that
- ; may be found useful.
- ;
- ; This macro package has been written and placed in the
- ; public domain by Douglas J Leavitt, 1986. This macro
- ; package is based on Commodore-Amiga header files printed
- ; In The ROM Kernel Manuals, published and printed by
- ; Commodore-Amiga, and Addison-Wesley publishing.
- ;
- ; The goal of this macro file is to be upwardly compatible
- ; with the include file of the same name.
- ;
-
- ifnd EXEC_STRINGS_I
- EXEC_STRINGS_I = 1
-
- ; Variables
- EOS = 0x00
- BELL = 0x07
- LF = 0x0A
- NL = 0x0A
- CR = 0x0D
- BS = 0x08
- DEL = 0x7F
-
- ; Macros
-
- STRING macro
- asciz \1
- .align 2
- endm
-
- STRINGL macro
- dc.b CR,LF
- asciz \1
- .align 2
- endm
-
- STRINGR macro
- ascii \1
- dc.b CR,LF,0
- .align 2
- endm
-
- STRINGLR macro
- dc.b CR,LF
- ascii \1
- dc.b CR,LF,0
- .align 2
- endm
-
- endc ; EXEC_STRINGS_I
-