Software Tips
-
WASTE MACRO NUMBER
-
NOLIST ; Doesn’t expand this into listing
-
LOCAL i ; Use local variable in Macro
-
i set NUMBER ; Initialize the local counter
-
WHILE i ;Count of cycles to waste
-
IF i > 1
-
goto $+1 ;twice the waste, half the space
-
i -= 2
-
ELSE
-
nop ;Waste 1 Cycle
-
i -= 1
-
ENDIF
-
ENDW
-
LIST
-
ENDM
Previous slide | Next slide | Back to first slide | View graphic version |