what is wrong with this little piece of code?
From: Akyl Tulegenov (pcxast_at_nottingham.ac.uk)
Date: 01/31/04
- Next message: Krazi: "DOS write to file bug"
- Previous message: Matt Taylor: "Re: ASCII -> HEX"
- Next in thread: Matt Taylor: "Re: what is wrong with this little piece of code?"
- Reply: Matt Taylor: "Re: what is wrong with this little piece of code?"
- Reply: Frank Kotler: "Re: what is wrong with this little piece of code?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 31 Jan 2004 07:43:17 +0000 (UTC)
Dear All!
What's wrong with this little piece of code? I am simply trying to print
out the value of pi variable, but ain't getting any output!
section .text
global _start
_start:
mov eax, 4
mov ebx, 1
mov ecx, pi
int 0x80
mov eax, 1
mov ebx, 0
int 0x80
section .data
pi: dq 1.0
- Next message: Krazi: "DOS write to file bug"
- Previous message: Matt Taylor: "Re: ASCII -> HEX"
- Next in thread: Matt Taylor: "Re: what is wrong with this little piece of code?"
- Reply: Matt Taylor: "Re: what is wrong with this little piece of code?"
- Reply: Frank Kotler: "Re: what is wrong with this little piece of code?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]