Mellékelek egy sablon félét a kezdéshez.
Kód: Egész kijelölése
;-------------------------------------------------------------------------------
; Compiled with SjAsmPlus v1.07rc compiler
;-------------------------------------------------------------------------------
DEVICE ZXSPECTRUM48
; compile code to 32768
.org $8000
;label for sjasmplus to calculate code length
image:
Kód: Egész kijelölése
SCREEN1_ADDR .equ $4000 ;start address of first screen area
accesserr_text:
.db "<text>"
INPUT_TEXT_LEN .dw $0000
Kód: Egész kijelölése
;label for sjasmplus to calculate the code length
end:
;saving the compiled code to object file
.savebin "fájlnév.bin",$8000,end-$8000
sjasmplus.exe --sym=<assembly forrásfájlnév>.sym <assembly forrásfájlnév>.asm ><logfájlnév>.log