views:

42

answers:

1

When I want to switch to GA in Assembly with Vista it gives me a fatal error and it simply says "I don't support 16bit GA". What should I Do?

A: 

Some assemblers output 16 bit instructions by default. With nasm you'd have to use the bits directive to change that, for example:

bits 32
xor eax, eax

If the bits directive in the above example would have been omitted, then the output would have been "xor ax, ax" (in machine code).

Inshallah