Original Post
I''m playing around with NASM, and I''ve got a problem.
I use this to declare some initialized data:
test dw ''1'',''2'',''3'',''4'',''5'',''$''
then, I want to compare the first byte with the content in AX, and to do that I try to copy the first byte to BX, but I can''t get it to work properly. I tried with this:
mov al, test
but that didn''t work, because if I then put 1 in AX and compare AX and BX, I get a not equal result.
Sorry if this is a stupid question, but I''ve tried to fix it for hours now, and I''m stuck. Any help is appreciated.