Environment Configuration

This chapter describes how to configure the environment to compile assembler source code (hereinafter "ASM code") using OpenFrame ASM.

1. Installation and Verification

For OpenFrame ASM installation and verification, refer to the OpenFrame ASM Installation Guide.

2. Macro Configuration

Since most ASM code is written using system macros, it is recommended to use the open-source MVS 3.8 macros.

  • Downloading MVS 3.8 Macro

    Download the macro file from the following link.

    https://github.com/Tmaxsoft-Compiler/OFASM-MAC-LIB/tree/master/38mac

3. Macro Path Configuration

Specify the directory of the downloaded macros using the OFASM_MACLIB environment variable. At this time, you must include the ofmac directory provided in OpenFrame ASM.

export OFASM_MACLIB=/home/oframe7/ofasm/maclib/ofmac:/home/oframe7/ofasm/maclib/38mac

The ofmac path must be specified at the very beginning of the configuration.