Code Monkey home page Code Monkey logo

Comments (5)

ped7g avatar ped7g commented on May 25, 2024 1

@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.

ped7g avatar ped7g commented on May 25, 2024

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.

ped7g avatar ped7g commented on May 25, 2024

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.

Tolik-Trek avatar Tolik-Trek commented on May 25, 2024

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)))
lst

from sjasmplus.

ped7g avatar ped7g commented on May 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.