Recently I needed to create a simple utility for Sorda in assembler, and since Sorda's keyboard is not the best for text input, I thought of a more convenient way to do it.
On the page clrhome.org/asm/ it is possible to write a program in Z80 assembler, then compile it online and save it to disk. This is exactly what I need. Then I use a small utility bin2cas to create a CAS file that I can upload to MESS and test the program. Of course, more complex programs will be better developed directly on Sord in some assembler with debugger, but for simpler programs I can only recommend it.
Sample of a simple program in assembler
|
1 2 3 4 5 6 7 8 9 10 |
#define PRINT 1063H .org $B000 ;program start address ld b,0 ;max number of characters ld HL, Message call PRINT ; Displays the string ret Message: .db "Hello world!",0 |
