Comments (8)
Hm, that makes sense. The other intended purpose was to allow multiple opcodes/directives on a single line. for example for longer nop chains that would otherwise blow up the number of lines quite a bit. Can you think of a decent way to handle these too?
from armips.
In Python you can use ;
to put multiple statements in a single line. That character is used for comments here, so you can't use that one of course, but something similar could be used. GAS seems to use @
, !
or $
for some architectures.
from armips.
Yeah, but when I thought about it I couldn't think of something that looked nice. The C expression syntax takes care of almost all possible symbols unfortunately.
from armips.
One option may be adding a .repeat/.endrepeat directive or something similar repeating a sequence N times.
EDIT: Forgot that @
is used for local labels...
from armips.
The most viable character I can think of for a statement separator is backtick (```).
A bit ugly, but some architectures in GAS seems to actually use the backtick for this purpose, and I guess it won't be used all that often anyway, so I think it would be feasible.
from armips.
Do you have any plans of implementing this currently? I would have tried myself but I'm afraid I don't quite understand the parser enough yet.
from armips.
I think I have a decent idea how it could be implemented, but I'm afraid I don't really have the time to do the proper testing at the moment. If you want though, I could talk to you about it and the parser, like somewhere in IRC.
from armips.
Sounds interesting. I'm usually available at #n64dev in EFnet.
from armips.
Related Issues (20)
- Vector loads/stores element not checked for validity HOT 1
- No data range checks
- Enums
- Non-one-line-expanding macro in a delay slot should cause an error
- Tons of uninitialized memory access bugs HOT 9
- New validation of RSP vector instructions seems to incorrectly mark some cases as invalid HOT 11
- OT question but still related to your works
- Improve RSP immediate value range
- [feature request] get the hash for a binary file and check out the value
- .autoregion broken on latest version of armips. HOT 3
- cmp with negative immediate value off by 1 HOT 1
- missing ARM addressing modes for LDRH
- [feature request] Either inputname() or some way to .org to end of file HOT 3
- Automated builds return 404 error HOT 2
- Missing option to export symbols from armips HOT 1
- Build failure on Linux Xubuntu 22.04 LTS HOT 1
- Automated Armips Build links return 404 HOT 7
- ARM ldrsh parameter failure
- Prevent armips from relocating sections HOT 2
- Visual C++ Redistributable Dependency Not Indicated for Automated Windows Builds HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from armips.