Comments (5)
@Tolik-Trek after release of 1.20.3 there will be one more new way to do these, instead of DZ
or DC
it will be possible to add Z
or C
suffix to string literal to request zero or high bit set, ie.
DB '\'C, 'A'Z ; bytes: 0xDC 0x41 0x00
from sjasmplus.
yes, this seems to be by design
http://z00m128.github.io/sjasmplus/documentation.html#po_dc
Same as BYTE, but every last character of a string will have bit 7 set.
http://z00m128.github.io/sjasmplus/documentation.html#s_strings
String constants are characters surrounded by double quotes.
any particular reason why single quote char constant really should be part of DC? How did you run into this? :)
from sjasmplus.
checking if the behaviour was my design during rewrite of string parser or legacy design preserved and v1.10.4 (before I started patching sjasmplus) does the same thing, so this is legacy behaviour.
which will make me very reluctant to "fix" this in v1.x to not break anyone's else old project, unless this get very strong reasons why it should be changed.
from sjasmplus.
It is possible that the documentation needs to be supplemented or the behavior of the compiler needs to be changed. In any case, it is necessary to notify users of this in large print)))
from sjasmplus.
I'm afraid most of the users will still find the hard way, missing the note in docs, but at least now it's shown in the example.
Hope you will not run into too many of those legacy-traps, thank you for reporting.
from sjasmplus.
Related Issues (20)
- Typo on warning
- [1.20.1][ubuntu 22.04][mingw-w64] Can't compile windows exe without modifying Makefile // Recommendation in Makefile is also not full
- Allow multiple labels as arguments of IFUSED HOT 3
- Multiple ORG directives silently ignored? HOT 2
- Interest in adding a new Z80 device ? VZ200/Laser210 HOT 3
- Not everything works after return from snapshot to Basic HOT 2
- Arrow keys and ESC don't work after invoking sjasmplus HOT 5
- Tests may fail due to locale settings
- duplicate lables HOT 1
- get include length size HOT 2
- bplist: MAME support HOT 1
- union HOT 1
- lua block parsing inside macro is not aware of being inside lua block, applying sjasmplus parsing rules (colons!) HOT 1
- Concern about instructions like add a,b HOT 4
- Missing FAKE INSTRUCTIONS like "ex bc, hl" and other combinations that exploit "ex (sp), rr" HOT 4
- INCBIN command assumes current OS path based on the .asm file where it resides. Does this have to be the case? HOT 4
- DEVICE for ZX Spectrum +3? HOT 3
- savesna PC counter seem to get lost between sjasmplus 1.14.5 and newer versions when using NexCreator HOT 3
- ZX80/ZX81 virtual device for sld output HOT 2
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 sjasmplus.