Kelvin Sherlock
59925b3a08
qlinkgs - implement the len/pos linker opcodes
...
len [label]
sets label = size of most recently linked/imported file
pos [label]
sets label = size of current segment. If no label, resets the position variable to 0.
label is added to the symbol table as an absolute entry.
Testing in merlin 16+, these are absolute entry labels, not gequ labels
Merlin does not include any ds fill in the len/pos, but that decision
seems questionable. these do include a ds fill for both.
2021-05-01 12:37:26 -04:00
Kelvin Sherlock
b92683ed43
REL DS calculation is based on the total segment size, not the current file.
...
additionally, it was block moving the size of the DS fill rather than the size of the relocation records.
2021-04-27 16:39:22 -04:00
Kelvin Sherlock
f35e76b682
In Merlin, link script GEQU (and KBD) values are available to the assembler and the linker, as absolute values.
...
This makes them available in the link phase (asm phase was already supported).
2021-04-23 23:38:25 -04:00
Kelvin Sherlock
2b9f5856d8
add test files for external abs
2021-04-12 20:53:57 -04:00
Kelvin Sherlock
7b8a81d605
add missing test cases for recent qasm iigs fixes.
2020-10-12 18:07:54 -04:00
Lane Roathe
0bedddc756
Remove broken links in project file, fix run to use relocated test file
2020-01-14 16:49:48 -08:00
Kelvin Sherlock
f0b10c0221
Add USR opcode. This uses the Merlin and QAsm opcode hashing scheme.
2019-12-19 20:05:49 -05:00
Lane Roathe
d78c8612f9
Merge branch 'sgq_qasm_main' of https://github.com/marketideas/qasm
2019-11-23 09:24:28 -08:00
marketideas
0b8a9dfae4
more m32 compatibility tests
2019-11-20 18:36:29 -08:00
Lane Roathe
3cab17d7f5
Merge branch 'sgq_qasm_main' of https://github.com/marketideas/qasm
2019-11-20 13:42:08 -08:00
marketideas
37ba8aaf40
more mods for testruns
2019-11-20 10:38:23 -08:00
marketideas
eba951f00f
moving some test scripts around
2019-11-20 10:20:43 -08:00
marketideas
630ea66623
adding script to create M32 output files
2019-11-20 07:59:02 -08:00
marketideas
e2dd7ab645
test
2019-11-19 17:09:58 -08:00
marketideas
d3bc1455fa
removed operand with spaces
2019-11-19 15:55:38 -08:00
marketideas
2e6f8af54e
all tests assemble, ]vars seem to be working
2019-11-19 11:27:17 -08:00
marketideas
b391c9b729
parser regex complete
2019-11-19 08:38:49 -08:00
marketideas
3fd0c7bcb5
test
2019-11-18 06:07:44 -08:00
marketideas
09482611cf
test
2019-11-17 19:54:48 -08:00
marketideas
065a247cc2
test
2019-11-17 18:46:49 -08:00
marketideas
7733b41076
test
2019-11-17 16:14:52 -08:00
marketideas
f639c41946
test updates
2019-11-17 14:26:06 -08:00
marketideas
dcd12630af
test
2019-11-17 13:32:32 -08:00
marketideas
a306f6f3d2
test
2019-11-13 15:51:19 -08:00