Comments (5)
I love the idea because it allows somehow more "readable"/"maintainable" code in theory.
In practice because opcode can be more than one byte, I understand that it causes complexity and promise of maintainability of the assembler program itself weighs against. ¯\_(ツ)_/¯
What I would do as a user is have an independently generated, ready-to-use table of name-for-Z80-opcodes-that-fit-on-one-byte and use those names.
from rasm.
thanks for the opcode file, i puted it in a "resources" folder
from rasm.
i think it's too messy in order to be friendly and convenient to use, mostly because opcode may have "any" size
from rasm.
anyone can propose some kind of "best includes for you" like "amstrad_firmware_calls.inc" or "opcodes_bytes.inc"
from rasm.
anyone can propose some kind of "best includes for you" like "amstrad_firmware_calls.inc" or "opcodes_bytes.inc"
Well, "anyone" can be me.
@rgiot, you will find on https://github.com/cpcitor/cpc-dev-tool-chain/blob/master/cpclib/cdtc/asminclude/cdtc/z80_syms_for_opcodes_first_byte.s a generated table.
It uses the sdasz80 syntax (because it is part of cpc-dev-tool-chain which existed before rasm), but it is very easy to change all .equ to EQU or whatever you want.
As you will see, it somehow does more than you expected, as it additionally provides names that ensure opcode meaning and visible hex value are always in sync.
"amstrad_firmware_calls.inc"
I might make something similar one day.
As a side effect of making a C-level wrapper to the firmware routines, some are in https://github.com/cpcitor/cpc-dev-tool-chain/blob/master/cpclib/cfwi/src/fw_nowrapperneeded.s
from rasm.
Related Issues (20)
- All macro examples in RASM manual generate preprocess errors on v1.4 win64 HOT 6
- String issues make unresolvable file errors inactionable HOT 1
- Searchable manual HOT 3
- make -f makefile.MacOS - creates a .exe HOT 2
- it's very slow to find label cases with huge project on Windows HOT 2
- I cant instaal this at my pc HOT 1
- not compatible with GNU Z80ASM ? HOT 3
- Breakpoints not generated with BUILDSNA V2 HOT 2
- Building AT2 player broken in recent builds HOT 1
- verbose listings appear in manual but show as deprecate in use HOT 11
- Suggestion to enhance CHARSET functionality HOT 3
- opcodes_first_bytes.asm has duplicated labels HOT 4
- On error in a macro, assembler reports the line of the "call" to the macro instead of the line of the error inside the macro HOT 4
- Align odd HOT 4
- How to check whether the value passed to a macro is a register? HOT 9
- Not adding a final new line at the end of an included file may prevent compilation HOT 5
- Recommended way to give a proximity label to a placeholder HOT 3
- Any new release soon? HOT 6
- Variable clash when including Arkos Tracker 2's PlayerAKM.asm HOT 1
- Non-existent op-code assembles as similar looking op code HOT 5
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 rasm.