New answers tagged

4

mov dl, byte [ecx] cmp dl, 0; read byte and comp to 0 je _exit There are various alternatives, for example: cmp byte [ecx], 0 je _exit And: mov dl, [ecx] ; note: BYTE would be redundant, but you can put it if you like test dl, dl jz _exit For that loop overall, _label: mov dl, byte [ecx] cmp dl, 0; read byte and comp to 0 je _exit add ...


Top 50 recent answers are included