new macro szZ: same as sz, but with 0 at the end of line (ASCIIZ string)

git-svn-id: svn://kolibrios.org@1567 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Ivan Baravy 2010-08-14 14:08:07 +00:00
parent 54fadda10d
commit baf8ec007b

View File

@ -190,6 +190,15 @@ macro sz name,[data] { ; from MFAR [mike.dld]
end if
}
macro szZ name,[data] { ; same as sz, but with 0 at the end of line (ASCIIZ string) [dunkaist]
common
if used name
name db data,0
.size = $-name-1
end if
}
sz0 fix szZ
macro lsz name,[lng,data] { ; from MFAR [mike.dld]
common
if used name