xdt99 icon indicating copy to clipboard operation
xdt99 copied to clipboard

No directive to repeat a block

Open litwr2 opened this issue 2 years ago • 2 comments

I have missed something like this construct

.rept 10
...
.endr

which is quite common for other assemblers.

litwr2 avatar Nov 28 '22 13:11 litwr2

That should be easy to add. But may I ask what you intend to use this feature for? Repeating data? Loop unrolling?

endlos99 avatar Nov 29 '22 18:11 endlos99

I don't know of any other assembler that omits this feature. It is hardly worth adding anything else to your list, but these two cases are quite important. Anyway thanks for your very useful programs.

litwr2 avatar Nov 29 '22 19:11 litwr2

Thanks for your suggestion. I've added .rept/.endr to xas99 and xga99 as of version 3.5.4.

endlos99 avatar Jan 06 '23 15:01 endlos99