linux-assembly.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* compiler error
@ 2004-07-24 20:08 Pawel Pustelnik
  2004-07-24 20:17 ` HLA v1.68 is now available Randall Hyde
  2004-07-25 11:54 ` compiler error fmarmond
  0 siblings, 2 replies; 3+ messages in thread
From: Pawel Pustelnik @ 2004-07-24 20:08 UTC (permalink / raw)
  To: linux-assembly

Hi,

I used assembler code in my cpp code
( __asm__ __volatile__(...) )
This assembler's syntax is ok but i can not compile my application
because after "g++ my_apps.cpp" I get:

/tmp/ccADrA0k.s: Assembler messages:
/tmp/ccADrA0k.s:3637: Error: too many memory references for `movq'

Maybe I do not know something about inline assembler?

-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* HLA v1.68 is now available
  2004-07-24 20:08 compiler error Pawel Pustelnik
@ 2004-07-24 20:17 ` Randall Hyde
  2004-07-25 11:54 ` compiler error fmarmond
  1 sibling, 0 replies; 3+ messages in thread
From: Randall Hyde @ 2004-07-24 20:17 UTC (permalink / raw)
  To: linux-assembly

HLA v1.68 is now available on Webster at
http://webster.cs.ucr.edu/AsmTools/HLA/dnld.html

This is a maintenance release containing several bug fixes to 
both the compiler and the HLA Standard Library. Also
 included are a couple of new routines in the args library 
module.

HLA, the High-Level Assembler is an 80x86 assembly language
that provides high-level programming facilities in addition to all
the low-level capabilities of a traditional x86 assembler. This
assembler is fully supported by thousands of pages of documentation
and tutorials, including "The Art of Assembly Language" published
by No Starch Press (www.nostarch.com) and the electronic
version available at http://webster.cs.ucr.edu/.

HLA is one of the most powerful assembly languages available
(for any processor) and its macro facilities are far more powerful
than existing x86 assemblers (e.g., MASM and TASM). HLA
fully supports classes and object-oriented programming, modular
(structured) programming, and low-level "grunt" assembly
programming.

HLA is available for both Linux and Windows and well-written
HLA programs will compile and run on both systems unchanged.

HLA includes the "HLA Standard Library", a ready-made set
of hundreds of different useful routines that you can call to simplify
writing assembly language applications. Full source code to all
the library code is available.

HLA is totally free and public domain (no restrictive licenses at
all, you may use HLA any way you like) and full source code is
available at the above URL.  This includes both the compiler
and the library.

Enjoy!
Randy Hyde

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: compiler error
  2004-07-24 20:08 compiler error Pawel Pustelnik
  2004-07-24 20:17 ` HLA v1.68 is now available Randall Hyde
@ 2004-07-25 11:54 ` fmarmond
  1 sibling, 0 replies; 3+ messages in thread
From: fmarmond @ 2004-07-25 11:54 UTC (permalink / raw)
  To: Pawel Pustelnik; +Cc: linux-assembly

Hi, 
 
It would be easier to help you if you send the code... 
What is in the "..." ? => __asm__ __volatile__(...) 
 
If you don't want, try to investigate in those ways: 
- if you have gcc 3.x, add the '-save-temps' option. 
It will save the temporary files, and you can have a look at them (how the 
assembly is generated) 
- if you have gcc 2.x, there are similar options, but I don't remrember which 
- have a look at compiler options. 'movq' is for 8 bytes long, and I don't 
know if your compiler can understand it (for 'standard' 32 bits cpu, movl (4 
bytes) is the maximum). Try to enable specific cpu architecture if needed 
(-march=athlon or something like that) 
 
Fred 
 
 
 
Selon Pawel Pustelnik <pawelpus@wp.pl>: 
 
> Hi, 
>  
> I used assembler code in my cpp code 
> ( __asm__ __volatile__(...) ) 
> This assembler's syntax is ok but i can not compile my application 
> because after "g++ my_apps.cpp" I get: 
>  
> /tmp/ccADrA0k.s: Assembler messages: 
> /tmp/ccADrA0k.s:3637: Error: too many memory references for `movq' 
>  
> Maybe I do not know something about inline assembler? 
>  
> --  
> Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ 
> - 
> To unsubscribe from this list: send the line "unsubscribe linux-assembly" in 
> the body of a message to majordomo@vger.kernel.org 
> More majordomo info at  http://vger.kernel.org/majordomo-info.html 
>  
>  
 
 
 

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-07-25 11:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-24 20:08 compiler error Pawel Pustelnik
2004-07-24 20:17 ` HLA v1.68 is now available Randall Hyde
2004-07-25 11:54 ` compiler error fmarmond

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).