Educator Hub User Group

  • 1.  Z Series Assembler

    Posted Wed September 29, 2021 10:11 AM
    I would like to make a couple of assignments in my second year computer architecture class so the students get some exposure to Z/Series machine level architecture. 

    It would be best if this could run on the LinuxOne cloud machines available to our students.  I cannot find a copy of the Z/Series assembler, HLASM, that could be installed on LinuxOne.  I see references to a physical tape containing HLASM but obviously that is not practical for this usage.

    Does anyone have any suggestions?

    ------------------------------
    Lou Thomason
    Adjunct Prof
    SUNY Ulster
    ------------------------------


  • 2.  RE: Z Series Assembler

    Posted Wed September 29, 2021 12:41 PM
    Consider using no-cost Marist z/OS hub for Z assembler.   University faculty members in the ZAI community can request educator and student IDs on the Marist z/OS hub.  The high level assembler is available on the Marist z/OS hub.

    ------------------------------
    Paul Newton
    ------------------------------



  • 3.  RE: Z Series Assembler

    Posted Wed September 29, 2021 12:41 PM
    There used to be an as (assemble) and gas (GNU assembler) command.





  • 4.  RE: Z Series Assembler

    Posted Wed September 29, 2021 01:13 PM
    Edited by Paul Newton Wed September 29, 2021 01:28 PM
    I believe GAS and NAS assembler mnemonics are different from the z/OS assembler mnemonics.  If the objective is z/OS assembler mnemonics Linux on Z, the physical tape option is not really a physical tape.  It is a .rpm that can be transferred and installed on the Linux on Z.

    https://developer.ibm.com/articles/l-gas-nasm/

    https://www.ibm.com/docs/en/zos/2.1.0?topic=guide-installing-high-level-assembler-zlinux
    https://www.ibm.com/docs/en/zos/2.1.0?topic=zlinux-file-transfer-process
    https://www.ibm.com/docs/en/zos/2.1.0?topic=zlinux-installation

    In full disclosure - I have never tried it.

    Linux on Z HLASM has other limitations and usage issues such as ASCII, EBCDIC and
    1. High Level Assembler for Linux on Z executes in 32-bit addressing mode. When executing on Linux on Z systems running in 64-bit addressing mode, the Linux 32-bit compatibility interface is required for correct execution.
    2. High Level Assembler for Linux on Z converts only OBJ object files to ELF32 format. To create ELF object files from GOFF object files, a separate conversion module is required.

    The limitations that apply to the generation of ELF32 object files are described in the HLASM Programmer's Guide.

    ------------------------------
    Paul Newton
    ------------------------------



  • 5.  RE: Z Series Assembler

    Posted Wed September 29, 2021 01:22 PM
    Bertus,

    Excellent suggestion I was not aware of.....  I will investigate.

    Lou Thomason
    914 318 4760






  • 6.  RE: Z Series Assembler

    Posted Thu September 30, 2021 05:07 PM
      |   view attached
    Access to Marist z/OS hub -- see attachment

    ------------------------------
    Paul Newton
    ------------------------------