Virgil Dupras
0bd58fd178
basic: parse hex, binary and char literals
Same thing as in zasm.
4年前
Virgil Dupras
8d46895dd3
lib/parse: decimal ending with a whitespace are now valid
Also, make empty strings be parsed as invalid by parseDecimal.
4年前
Virgil Dupras
612323f714
zasm: add "last value" symbol (@)
4年前
Virgil Dupras
fe15bafeca
zasm: fix bug with registry selection
During expression parsing, if a local label was parsed, it would
select the local registry and keep that selection, making
subsequent global labels register in the wrong place.
5年前
Virgil Dupras
6dbbfa837d
apps/ed: add (dummy) line number processing
Starting to feel interactive...
5年前
Virgil Dupras
e18f9b53a9
zasm: add support for "$" symbol
Allows for the ".fill x-$" pattern.
5年前
Virgil Dupras
acddb045a5
zasm: add support for .org directive
5年前
Virgil Dupras
3b1ef2b9af
zasm: bump global symbol limit to 0x200
5年前
Virgil Dupras
fd11941867
zasm: can now assemble zasm/parse.asm!
5年前
Virgil Dupras
f44c3e5413
zasm: fix 3-digit hex parsing
5年前
Virgil Dupras
28d5ebdc8a
Make apps folder into a namespace
To straighten out includes and to pave the way into zasm being part of
the same "include CFS" as parts, we make zasm includes namespaced.
5年前
Virgil Dupras
92a119105d
zasm: add support for "0b" literals
5年前
Virgil Dupras
0f5fab23e9
zasm: don't accept "0X" prefix for hex anymore
This was only necessary in the time where input was upcased right after
reading.
5年前
Virgil Dupras
7083116379
zasm: remove JUMP_ prefixes
They serve no purpose and make the code less flexible.
5年前
Virgil Dupras
0ae91e55ec
zasm: big local symbols overhaul
5年前
Virgil Dupras
a486a2a81e
zasm: support char literals
5年前
Virgil Dupras
746c86cbf8
zasm: make getSymVal not responsible for calling symFind
With local labels, these two will have to be decoupled.
5年前
Virgil Dupras
6d4515cd03
zasm: little code reorganisation
5年前
Virgil Dupras
b87feac785
zasm: add support for labels!
5年前
Virgil Dupras
1c17dcb7a2
zasm: consolidate code
5年前
Virgil Dupras
d34aff67bb
zasm: Read from and write to streams instead of memory
5年前
Virgil Dupras
f9ae5ca46b
zasm: simplify readWord calling
It always reads in the scratchpad with the same max size. No need for
DE-dancing anymore.
5年前
Virgil Dupras
dde5161fc1
zasm: add support for ".db" directive
5年前
Virgil Dupras
a00bc8cc4b
zasm: remove the "token" variable
5年前
Virgil Dupras
5fd9b7812c
zasm: make each token type parse the remaining of line directly
5年前
Virgil Dupras
a7693ffd86
zasm: still inching toward directives
5年前
Virgil Dupras
1ffe05dd09
zasm: creep in the notion of directive
5年前
Virgil Dupras
8241298c8f
zasm: code consolidation
5年前
Virgil Dupras
98ad223ee1
zasm: introduce the concept of instruction ID
It will make tokenization cleaner and it also makes the instruction
table significantly more compact.
5年前
Virgil Dupras
79b5c701f6
zasm: move token variables from tok.asm into main.asm
5年前
Virgil Dupras
a7635cb1ea
zasm: allow blank lines in asm source code
5年前
Virgil Dupras
eb5c974573
zasm: allow leading whitespace in parsed lines
5年前
Virgil Dupras
57c3dfece8
zasm: assemble multiple lines at once
5年前
Virgil Dupras
056bbde710
zasm: add support for IX/IY with displacement
5年前
Virgil Dupras
14a410b024
zasm: extract tok.asm from zasm.asm
5年前