AnsweredAssumed Answered

How to clear an array in assembly language?

Question asked by ikauf ikauf on Aug 14, 2009
Latest reply on Aug 14, 2009 by bigmac

Hello experts!


Can anyone tell me please, how to clear an array in asm?



VAR1:    DS.B 1

VAR2:    DS.B 2


clr VAR1    ;clear VAR1

clr VAR2    ;clear VAR2, deletes only the first address

clr VAR2+1 ;clear VAR2, deletes the 2nd address too

clr ARRAY   ;deletes only the first address but how can I clear the rest of the reserved space



would be very nice if someone could help me!


best regards


Ingo Kauf