Difference between revisions of "Z80:Directives:RELOCATE/ENDRELOCATE"

From Learn @ Cemetech
Jump to navigationJump to search
(Initial automated import)
 
(No difference)

Latest revision as of 17:21, 5 February 2016

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