User`s manual
Rabbit 4000 Designer’s Handbook rabbit.com 53
#xcodorg yourcode 0x0 0x5000 0x500
then the origin statement:
#xcodorg mycode 0x0 0x5500 0x500 follows yourcode
tells the compiler to activate mycode when yourcode is full. This action does an implicit resume on
the memory region identified by yourcode. In this example, the implicit resume also generates a jump
to mycode when yourcode is full. For data regions, the data that would overflow the region is moved to
the region that follows. Combined data and code regions (like #rcodorg) use both methods, which one
is used depends on whether code or data caused the region to overflow. In our example, if data caused
yourcode to overflow, the data would be written to the memory region identified by mycode.