@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ This function writes pattern into the memory locations:
@ startaddr -> startaddr+numbytes
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
NSSVTTSSSN | Mark: 11000 (memset)
@ Prepare the stack for computation.
@ Store pattern into one memory location on each pass through this loop.
NSSVSSSTTSSSSSSSSSSSN | Mark: 00011000 00000000
@ Decrement and check for loop end condition numbytes == 0.
NTSSSSTTSSSSSSSSSSTN | BRZ > 00011000 00000001
NSNSSSTTSSSSSSSSSSSN | JMP > 00011000 00000000
NSSVSSSTTSSSSSSSSSSTN | Mark: 00011000 00000001