Libraries near Alyasm

ZXNet echo conference «code.zx»

From Alexander Bondarenko To All 9 March 2001

Greetings, All! In short, I organize my subjects like this: -=-=-=-=-=-=-=-=-Main project file=-=-=-=-=-=-=-=- INCLUDE "LIB_HEAD" ;Library header (macro definitions, constants) .... the program itself .... INCLUDE "LIB_BODY" ;Library body (procedures, data, etc.) -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Explanations for parts of the libraries: -=-=-=-=-=-=-=-=-Library header=-=-=-=-=-=-=-=- ;Connected at the very beginning of the program MACRO procedure CALL procedure_ ENDM var EQU nn .... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -=-=-=-=-=-=-=-=-Working part of the library=-=-=-=-=-=- ;Connected at the very end of the program IF ?procedure_-1 procedure_ ld hl,0 rrca ... ret ENDIF .... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- When assembling a program, unused procedures will not be assembled. A The procedures themselves can be called without CALL. And naturally, it will be possible specify parameters after this. But that's not all - if you use a check for the presence of parameters, you can It will generally be perverted as it pleases. That's how things are... | So the time for a smoke break has quietly arrived. /~ Be there, All!