overwrite segment tests

asm/listing linker CFG support
asm and asm/listing test documentation
This commit is contained in:
bbbradsmith
2023-03-07 18:44:56 -05:00
parent 8b818aac67
commit 4732e937ad
10 changed files with 121 additions and 20 deletions

View File

@@ -0,0 +1,12 @@
MEMORY
{
A: start = 0, size = 8, file = %O, fill = yes, fillval = $33;
B: start = 8, size = 8, file = %O, fill = yes, fillval = $44;
}
SEGMENTS
{
A: load = A, type = ro;
B: load = B, type = ro;
AO: load = A, type = overwrite, start = 6;
BO: load = B, type = overwrite, start = 8+6;
}