Giter Club home page Giter Club logo

Comments (4)

z00m128 avatar z00m128 commented on May 13, 2024

Hello, this is a documented feature:

and all other commands support this.

LD A,B,B,D,D,H
/* this is:
LD A,B
LD B,D
LD D,H
*/
;or you can write LD A,B:LD B,D:LD D,H

If you pay notice to the listing, the sub a,2 is compiled as sub a: sub 2. We agree, that there should be a warning on fake instructions, as it is requested in Issue #7, therefore I'm closing it as duplicity.

from sjasmplus.

maziac avatar maziac commented on May 13, 2024

Hi,

could you please open this again.
I'm perfectly fine with the fake instructions.

My main point was about the addresses in the listing (list file).
These are wrong: LD HL,nn starts at 8000h and is 3 byte but the next address is 8004h and not 8003h.
Maybe the address of the last instruction of the line is used but I think it should be the address of the first instruction of a line.

from sjasmplus.

z00m128 avatar z00m128 commented on May 13, 2024

I'm reopening it as you requested, but there are more troubles with parser. I guess they will be fixed at once, maybe with issue #7. I tried the example from docs and it's really more than wierd:

1   0000                org 32768
2   8000             
3   8002 78 42 54    start:     LD A,B,B,D,D,H
4   8003 C9             ret
5   8004             
6   8004

from sjasmplus.

z00m128 avatar z00m128 commented on May 13, 2024

Fixed in b6911ce by Busy.

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.