mirror of
https://github.com/autc04/Retro68.git
synced 2025-02-17 11:31:00 +00:00
26 lines
278 B
Perl
26 lines
278 B
Perl
SECTIONS
|
|
{
|
|
. = 0x80000;
|
|
A = .;
|
|
.text :
|
|
{
|
|
_start = .;
|
|
. = 0x10000;
|
|
}
|
|
B = .;
|
|
.data :
|
|
{
|
|
. = 0x10000;
|
|
}
|
|
C = .;
|
|
.bss :
|
|
{
|
|
. = 0x10000;
|
|
}
|
|
D = A - C + B;
|
|
E = A + B - C;
|
|
/DISCARD/ : {*(*)}
|
|
}
|
|
|
|
ASSERT(D == E, "Addition is not commutative");
|