Re: newbie questions
- From: "cr88192" <cr88192@xxxxxxxxxxxxxxxxxx>
- Date: Fri, 4 May 2007 05:32:31 +1000
"Carlos" <carlos@xxxxxxxxx> wrote in message
news:f1b3ni$eqv$1@xxxxxxxxxxxxxxxxxxxxxxx
It's very hard for me to code in asm, because every sample code, even t
he
smallest, dont work for me;) eg:
i want to use 4eh and 4fh functions to find files and compiler throws
error
in:
Download NASM and start with a simple "Hello World" program. I
suppose such a simple DOS demo is included in the NASM package.
If this works, you can add more complicated code. If you have
a problem compiling the NASM source, Frank surely can help you.
Ok I'll try to use NASM.
But what with this "error A2022: instruction operands must be the same
size" whats wrong here?
you are trying to assemble is as 32-bit code.
so it is, your code is valid, for dos, or dos emulation.
it is not valid, for native 32-bit code.
decide your path.
dos code will simply not work right in 32 bit mode, you would need to find
new example apps...
(or stick to something like C or C++...).
.
- References:
- newbie questions
- From: Carlos
- Re: newbie questions
- From: Carlos
- Re: newbie questions
- From: Herbert Kleebauer
- Re: newbie questions
- From: Carlos
- newbie questions
- Prev by Date: Re: newbie questions
- Next by Date: Re: HLA v1.93 is now available
- Previous by thread: Re: newbie questions
- Next by thread: Re: newbie questions
- Index(es):
Relevant Pages
|