qasm/testdata/3013-len-pos-2.S
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

6 lines
80 B
ArmAsm

rel
* make sure ds adjusts len/pos appropriately.
ds \
sav 3013-len-pos-2.L