xor ecx, ecx loop: mov eax, [stringtable + (ecx *4)] cmp eax, 0 je done //do work on string here done: stringtable: dw String1 dw String2 dw String3 dw 0 String1: db 'This is a test', 0 String2: db 'This is a test', 0 String3: db 'This is a test', 0