overwrite segment tests
asm/listing linker CFG support asm and asm/listing test documentation
This commit is contained in:
20
test/asm/listing/200-overwrite.cfg
Normal file
20
test/asm/listing/200-overwrite.cfg
Normal file
@@ -0,0 +1,20 @@
|
||||
MEMORY
|
||||
{
|
||||
A: start = 0, size = 8, file = %O, fill = yes, fillval = $33;
|
||||
B: start = 8, size = 8, file = %O, fill = yes, fillval = $44;
|
||||
C: start = 0, size = 8, file = %O, fill = yes, fillval = $55;
|
||||
D: start = 8, size = 8, file = %O, fill = no, fillval = $66;
|
||||
}
|
||||
SEGMENTS
|
||||
{
|
||||
A: load = A, type = ro;
|
||||
B: load = B, type = ro;
|
||||
C0: load = C, type = ro;
|
||||
C1: load = C, type = ro, start = 5;
|
||||
D: load = D, type = ro;
|
||||
|
||||
AO: load = A, type = overwrite, start = 4;
|
||||
BO: load = B, type = overwrite, start = 8+5;
|
||||
CO: load = C, type = overwrite, start = 2;
|
||||
DO: load = D, type = overwrite, start = 8+4;
|
||||
}
|
||||
Reference in New Issue
Block a user