Comments (4)
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.
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.
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.
Fixed in b6911ce by Busy.
from sjasmplus.
Related Issues (20)
- use label as arg for macro, and then use sub label HOT 6
- lua integration is broken since at least v1.10.4, the external libs for bitwise/hex conversion don't init (`LUA_ERRSYNTAX`)
- docs: add explanation and example how 3-pass (N-pass) assemblers work and what does it mean in sjasmplus.
- relocation -> support for 256B aligned relocation mode (useful for symbOS and NextZXOS drivers)
- Lua: fix file+line numbers in errors in more complex cases
- make "Unrecognized option" message error-like, to be harder to overlook, and affect exit code as well
- allow defining custom Devices
- WTF Dup bug HOT 2
- Building on Alpine Linux fails due to clash with constant in musl limits.h HOT 1
- SAVETAP: codeblock of 166 bytes length starting at 0xFF59 saved to .tap HOT 2
- 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
- if __PASS__ without endif wrong errors HOT 3
- optional saving symbol table (--sym=) WITHOUT EQU HOT 4
- full clean ram without any FCKN basic shit request HOT 2
- --exp= without export doesn't produse empty export file
- saving in doesn't existing folder causing unnecesary fatal error instead of creating new folder HOT 1
- 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
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.