Hi everyone!

I'm trying to learn assembly x86 using tasm but a doubt stoped me.

I need to create a file and copy an array of characters for him.

I know I need to use 3Ch to create, 40h to write and 3Eh to close him but I can't implement it.
If you have any sample for that situation, please show me.

Thanks and sorry the for bad english

Here are some links that mey help you -- the first one even has source code.

mov ah, 3ch
lea dx, filename
xor cx, cx
int 21h
int 20h
Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.