Date: Thu, 21 Dec 1995 08:34:35 +0200 (IST) From: Eli Zaretskii To: Laszlo Vecsey Cc: djgpp AT delorie DOT com Subject: Re: Allocating gobs of memory On 19 Dec 1995, Laszlo Vecsey wrote: > unsigned char frames[64000][30]; > > Shouldn't the above piece of code work? I was hoping that in protected mode > it would be as easy as this. Yes, it should. If it doesn't work for you, please post the smallest code fragment that fails and please explain how does it fail. > I would appreciate it if someone could point me to the specific location > of a document that describes all of GCC's inline assembly syntax... I've > spent the past week trying to find this information on the net. In general, you just include an assembly instruction as a quoted string argument to a pseudo-function asm(). You don't have to search on the net for the docs of how to do it: the GCC documentation explains this facility in great detail. Just get the GCC docs archive (gcc263dc.zip) and read there under the ``Extensions'' chapter. If you insist on reading this through the net, point your Web browser to this URL: http://www.delorie.com/gnu/docs/gcc/gcc_85.html#SEC88 If you are used to inline programming in assembly for the PC, then check out the DJGPP FAQ list (available as faq102.zip from the same place you get DJGPP). It discusses in section 17.1 the differences between AT&T assembly syntax and Intel assembly syntax and points you to further docs on this point.