Solved

"Too Many Memory References"

Posted on 2006-11-28
1
1,295 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
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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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
Binary bomb phase 3 10 2,060
x86 instruction "rdtsc" doesn't work for ARM based cpu (iPhone) 7 3,096
Recommended programming language 7 385
C types 14 303
IT certifications are a concrete representation of continual learning on the part of the candidate.  Continual learning is necessary for the long term success of an IT professional, but are IT certifications the right path for you?
ConnectWise and their customers need to ensure critical alerts automatically reach the right person at the right time. MSP superheros efficiently respond to these alerts key is providing automatic, intelligent alerting that generates a complete audi…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

856 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