endlos99 / xdt99

xdt99: TMS 99xx Cross-Development Tools
http://endlos99.github.io/xdt99
GNU General Public License v3.0
52 stars 8 forks source link

Two successive labels on consecutive rows cause error #5

Closed petersobolev closed 8 years ago

petersobolev commented 8 years ago

.... qq: nextblock: ....

returns error:

<1> 0174 - nextblock: ****\* Invalid continuation for label (xas 1.5.0)
endlos99 commented 8 years ago

This is a restriction of so-called continuation labels, i.e., labels with a ":". Unfortunately, you cannot have two of them in a row if no statement is present.

The easy solution, however, is to simply drop the ":" at the end of the label.

If you want to learn about the difference between "label" and "label:", please check the manual for "label continuations".