; You should have received a copy of the GNU General Public License
; along with avrcpm. If not, see <http://www.gnu.org/licenses/>.
;
-; $Id$
+; $Id: macros.inc 241 2015-12-10 09:38:25Z rapid $
;
;------------------------------------------------
.endif
.endm
+;------------------------------------------------
+; Make string.
+; makestring "String"
+
+.macro makestring
+ .if strlen(@0) % 2
+ .db @0,0
+ .else
+ .db @0,0,0
+ .endif
+.endm
+
;------------------------------------------------
; Print string.
; printstring "String"