z80:Directives:RELOCATE/ENDRELOCATE

From Learn @ Cemetech
Revision as of 17:21, 5 February 2016 by Maintenance script (talk | contribs) (Initial automated import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Defines a block of code as relocatable. While the block of code is output at the current address, all labels are calculated with an offset applied, to allow the block of code to be copied elsewhere with the correct label addresses.

Syntax

   .relocate [address]

Allowed inputs

Uses

See Also