Binder Manual (G06.24+, H06.03+)
BIND Commands
Binder Manual—528613-003
3-36
MOVE Command
Examples
The following examples illustrate the syntax and use of the MODIFY command.
•
The MODIFY command causes the prompting sequence to begin with the base
address. (The resulting display follows the command.)
@MODIFY CODE block-3
CODE BLOCK-3+00000 (012345) <-- 012346
CODE BLOCK-3+00001 (000000) <-- CR
@
Note that in the first line of the display BLOCK-3 is the name of the code block,
+00000 is the offset of the word, (012345) is the current value, and 012346 is the
replacement value entered by the user.
Note also that in the second line of the display the user enters a carriage return
after the arrow and thus stops the prompting for replacement values.
•
The SHOW MODIFY command allows the user to verify changes by displaying all
modified entries.
@MODIFY CODE lm^init
CODE LM^INIT+00000 (070402) <-- 70401
CODE LM^INIT+00001 (024700) <-- 24701
CODE LM^INIT+00002 (002005) <-- 2006
CODE LM^INIT+00003 (040001) <-- 40000
CODE LM^INIT+00004 (014404) <-- 14403
CODE LM^INIT+00005 (100777) <-- CR
@SHOW MODIFY
MODIFY 5 ENTRIES:
MODIFY CODE LM^INIT+00000 = 070401 LADR L+001
MODIFY CODE LM^INIT+00001 = 024701 PUSH 701
MODIFY CODE LM^INIT+00002 = 002006 ADDS +006
MODIFY CODE LM^INIT+00003 = 040000 LOAD G+000
MODIFY CODE LM^INIT+00004 = 014403 BAZ +003
MOVE Command
The MOVE command relocates code blocks within the target file. For example, if
Binder was unable to fill the gap preceding the 32K boundary because of the order of
the include lists or because of code block sizes, you can establish a more efficient
order.