mirror of
https://github.com/open-simh/simtools.git
synced 2026-01-13 23:36:03 +00:00
23 lines
953 B
Plaintext
23 lines
953 B
Plaintext
;;;;;
|
|
;
|
|
; Test delimiters of .ASCII and .ASCIZ
|
|
|
|
CR = 13.
|
|
LF = 10.
|
|
SOH = 1
|
|
|
|
.asciz <cr><lf>/<SOH>/ ; 2 bytes and a string
|
|
.asciz /<cr><lf><SOH>/ ; only a string
|
|
.asciz |<cr><lf><SOH>| ; the same string
|
|
.ascii <cr><lf><SOH> ; 3 bytes
|
|
|
|
.asciz ;ABC;/DEF/ ; ABCDEF, not recommended practice
|
|
.asciz /ABC/;DEF; ; ABC, not recommended practice
|
|
.asciz /ABC/=DEF= ; ABCDEF, not recommended practice
|
|
.asciz =DEF= ; syntax error: assignment
|
|
.asciz =###= ; syntax error: assignment
|
|
.asciz :SOH: ; syntax error: colon not allowed
|
|
.asciz :###: ; syntax error: colon not allowed
|
|
.asciz ^###^ ; previous versions of this macro11
|
|
; used ^/.../ quoting as an extension; however this should be ^...^.
|