NASM Problem
From: BWA (bwa_at_qbs.com.pl)
Date: 01/13/04
- Previous message: Grumble: "Re: disassembly of x86"
- Next in thread: Matt Taylor: "Re: NASM Problem"
- Reply: Matt Taylor: "Re: NASM Problem"
- Reply: Spike: "Re: NASM Problem"
- Reply: Lukas Reck: "Re: NASM Problem"
- Reply: Ole Nielsby: "Re: NASM Problem"
- Reply: Bx. C: "Re: NASM Problem"
- Reply: BWA: "Re: NASM Problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 13 Jan 2004 17:12:14 +0000 (UTC)
Hello.
I have small problem while compiling with NASM.
In sorce i have:
[BITS 32]
..
push ebp
mov ebp,esp
..
and nasm generates in binary file:
55 ; push bp
89 E5 ; mov bp,esp
only when i change
[BITS 32] on [BITS 16]
it generatas good bytecodes:
66 55 ; push ebp
what is the problem whith it?
greetings
BWA
- Previous message: Grumble: "Re: disassembly of x86"
- Next in thread: Matt Taylor: "Re: NASM Problem"
- Reply: Matt Taylor: "Re: NASM Problem"
- Reply: Spike: "Re: NASM Problem"
- Reply: Lukas Reck: "Re: NASM Problem"
- Reply: Ole Nielsby: "Re: NASM Problem"
- Reply: Bx. C: "Re: NASM Problem"
- Reply: BWA: "Re: NASM Problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|