msbasic/macros.s

11 lines
283 B
ArmAsm
Raw Normal View History

2008-10-11 07:15:19 +00:00
; ----------------------------------------------------------------------------
; 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