Re: 16bit x86 assembler/disassembler

2009-09-26 Thread Felix Zielcke
Am Freitag, den 25.09.2009, 22:25 +0100 schrieb James Courtier-Dutton:
 2009/9/25 Seth Goldberg seth.goldb...@sun.com:
  Hi,
 
   gas supports 16-bit code with .code16 directives.  What are you trying to
  do?
 
 
 I would like to have some .c code, compile it into 16-bit x86 code. I
 then want to look at the resulting 16-bit x86 code with a
 disassembler.

This is totally off topic to this list.
If you want to see what asm code gcc generates just use gcc with -S
option and the asm code gets stored in an .s file

Debian has x86dis packaged, which seems to be an x86 disassembler.

But please don't continue that topic on this list.
Search another place to get help, this has absolutely nothing to do with
GRUB specific development.

-- 
Felix Zielcke
Proud Debian Maintainer



___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


16bit x86 assembler/disassembler

2009-09-25 Thread James Courtier-Dutton
Hi,

Where is a 16bit x86 assembler/disassembler

I am assuming that one is using one for grub.
Does it do C to 16bit x86 code?

Kind Regards

James


___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: 16bit x86 assembler/disassembler

2009-09-25 Thread Seth Goldberg

Hi,

  gas supports 16-bit code with .code16 directives.  What are you trying to 
do?


  --S

Quoting James Courtier-Dutton, who wrote the following on Fri, 25 Sep 2009:


Hi,

Where is a 16bit x86 assembler/disassembler

I am assuming that one is using one for grub.
Does it do C to 16bit x86 code?

Kind Regards

James


___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel




___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: 16bit x86 assembler/disassembler

2009-09-25 Thread James Courtier-Dutton
2009/9/25 Seth Goldberg seth.goldb...@sun.com:
 Hi,

  gas supports 16-bit code with .code16 directives.  What are you trying to
 do?


I would like to have some .c code, compile it into 16-bit x86 code. I
then want to look at the resulting 16-bit x86 code with a
disassembler.


___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel