Solved

"Too Many Memory References"

Posted on 2006-11-28
1
1,302 Views
Last Modified: 2012-05-05
Why does asm report:
   seqtoccr.as2:235: Error: too many memory references for `int'
   seqtoccr.as2:236: Error: too many memory references for `int'
   seqtoccr.as2:237: Error: too many memory references for `int'
   seqtoccr.as2:238: Error: too many memory references for `int'
   seqtoccr.as2:239: Error: too many memory references for `int'
   seqtoccr.as2:240: Error: too many memory references for `int'
   seqtoccr.as2:241: Error: too many memory references for `int'
   seqtoccr.as2:242: Error: too many memory references for `int'

for these lines of code:

               int      0x00000001,0x00000002,0x00000004,0x00000008
               int      0x00000010,0x00000020,0x00000040,0x00000080
               int      0x00000100,0x00000200,0x00000400,0x00000800
               int      0x00001000,0x00002000,0x00004000,0x00008000
               int      0x00010000,0x00020000,0x00040000,0x00080000
               int      0x00100000,0x00200000,0x00400000,0x00800000
               int      0x01000000,0x02000000,0x04000000,0x08000000
               int      0x10000000,0x20000000,0x40000000,0x80000000

     Syntax looks OK per the GNU Assembler manual.  What's coming into play to cause these errors?

Thanks
0
Comment
Question by:apx_31088
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 11

Accepted Solution

by:
dimitry earned 250 total points
ID: 18051669
Doesn't it suppose to be:
.int      0x00000001,0x00000002,0x00000004,0x00000008
.int      0x00000010,0x00000020,0x00000040,0x00000080
.int      0x00000100,0x00000200,0x00000400,0x00000800
.int      0x00001000,0x00002000,0x00004000,0x00008000
.int      0x00010000,0x00020000,0x00040000,0x00080000
.int      0x00100000,0x00200000,0x00400000,0x00800000
.int      0x01000000,0x02000000,0x04000000,0x08000000
.int      0x10000000,0x20000000,0x40000000,0x80000000
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Assemlby_ARM 3 528
Intel DX58SO board 7 885
programming/ use of multiple cores - theoretical optimization of threads/cores 7 587
memory mapped I/O query 6 152
No single Antivirus application (despite claims by manufacturers) will catch or protect you from all Virus / Malware or Spyware threats. That doesn't stop you from further protecting yourself however - and this article is to show you how.
This article summaries thoughts and ideas from two years of sustained use. It provides good reasoning to make the jump to Windows 10.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question