nasm ?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
echristian

nasm ?

Post by echristian »

the tasm code  
    LDS  SI,DS:[BX] does not work in nasm

it gives me the error 'invalid combination of opcode and operands'

how would you do this in nasm?
carbonBased

RE:nasm ?

Post by carbonBased »

If I recall correctly, nasm uses a different syntax for memory operands:

Try:
lds si, [ds:bx]

Cheers,
Jeff
echristian

RE:nasm ?

Post by echristian »

it worked
thanks
Post Reply