msbasic/macros.s
Michael Steil 7d804ddd8f .
2008-10-11 07:15:19 +00:00

11 lines
283 B
ArmAsm

; ----------------------------------------------------------------------------
; Macros
; htasc - set the hi bit on the last byte of a string for termination
.macro htasc str
.repeat .strlen(str)-1,I
.byte .strat(str,I)
.endrep
.byte .strat(str,.strlen(str)-1) | $80
.endmacro