home *** CD-ROM | disk | FTP | other *** search
- OPCHANGE.EXE allows you to modify certain of the assembler opcodes.
-
- The calling sequence is:
-
- OPCHANGE file.exe str1=str2 str3=str4.....
-
- where file.exe is the file to be modified, and
-
- str1 is to be changed to str2
- str3 is to be changed to str4
-
- The characters is the source and replacement strings must be
- alphanumeric, and the source and destination strings must be
- of the same length.
-
- The modified file will be written to file.new, and you
- must rename this to an EXE file before you can test.
-
- For example, to change file MACZ80 and:
-
- replace SET pseudo operation with VEQ (arbitrary choice)
- replace STB opcode with SET
- replace DW with BK (backward storage, again arbitrary)
- replace WD with DW (normal Z80 mode)
-
- OPCHANGE MACZ80.EXE SET=VEQ STB=SET DW=BK WD=DW
-
- The replacements are performed in the order given and you must
- be careful in your choice of the replacement sequence.
-
- Use this program at your own risk, and keep a backup of the
- orginal .EXE file.
-
-