Assembler Workshop: Example Applications
by David Spencer

The two programs Repeat and RepMod demonstrate some of the techniques involved in writing applications in assembly language. Both programs perform the same function, but Repeat is in the form of absolute code (filetype &FF8), while RepMod is in the form of a module (filetype &FFA).

Running !Workshop will *RMLoad RepMod then *Run Repeat. Both programs prompt the user to enter a line of text, then print the line repeatedly until Escape is pressed. This is repeated until the user enters a blank line. The absoulte version is run using '*Run Repeat', while the module version is run using '*Repeat' once the module has been loaded.

The source code for Repeat and RepMod is saved in !Workshop as RepeatSrc and RepModSrc respectively.
