Quickly Convert Embedded Systems & Legacy RTOS source to Linux, Windows using the K.I.S.S. principle

Click here for Source to Source Conversion Home Page

Micro-Processor Services, Inc.
Tel. 561 302 3276
Contact us

Source to Source Compilers for Converting Legacy Mainframe & Embedded Applications to C, C++, CPP, C#, CS, JAVA, VB, NinjaScript, Structured Text (ST), .NET

Software Product Box Image

FEATURES

  • Simple to use, automated process
  • Translation of HLASM390 fragments
  • Translation of INCLUDE or COPY files
  • Translation of HLASM390 directives
  • Support for card format input
  • Extensive error checking diagnostics
  • Accurate translation
  • Run time interface
  • Easy to install
  • Compatible with many C and ANSI C compilers
  • Translates include files on the fly
  • Moves nested procedures
  • Completes unqualified structure members
  • Flags HLASM390 syntax errors in listing file
  • Outputs ANSI C or K&R C
  • Generates C translation files with comments logically placed
  • Includes skeletons in C of runtime support functions
  • Provides a list of implicitly declared variables in each module
  • Has a by-pass capability that allows translation even with syntax errors in the input file
  • Converts HLASM390 programs to C so you can move your program to other processors
  • Translation may be done in an editor environment with error message capability using "Brief" or any editor that is supported
  • Flags syntax errors and generates listing file with levels for include files
  • WIN32 protected mode operation allows translation of very large source files (more then to 500,000 lines per file)
  • KEYWORDS

    ASM, ASSEMBLY, ASM390, MAINFRAME ASSEMBLY, ASM390C, HLASM, ASSEMBLER, JCL, JOB CONTROL LANGUAGE, HLAL, ASSEMBLER, SYSTEM/390,

     

    REFERENCES

    Assembly Language Programming by Michael D. Kudlick
    Assembler Language with Assist by Ross A. Overbeek & W.E. Singetray
    High Level Assembler Language User Manual by IBM
    System / 360-370 Assembler Language (OS) by Kevin McQuillen
    Assembler Language Programming by Sharon K. Tuggle
    OS JCL by Wayne Clary
    OS/VS - DOS/VSE - VM370 Assembler Language by IBM

    LINKS

    Why Convert from ASM to C?

    CONTACT

    Micro-Processor Services
    Contact us


    HLASM (High Level Assembly) 390C
    IBM HLASM 390 to "C" Translator, Converter:
    Reverse Engineering For Assembly Source Code


    The HLASM390C® translator is a Microsoft Windows program that translates IBM main frame HLASM390 programs to "C". The translation process is a turn key process with minimal user intervention. The translator output is ANSI C or K&R C code that is ready to be tested with the target compiler. Simply run your HLASM390 code through the translator and start debugging C code with your target compiler.

    GENERAL DESCRIPTION

    The HLASM390C® translator is a software tool that will convert existing HLASM390 programs to "C". The powerful HLASM390C® translator accepts HLASM390 programs, checks their syntax and outputs C code. The comments are move transparently from the source file to the target file. Any built-in functions for math, string manipulation and I/O in HLASM390 are converted to calls to external procedures (Get free sample translation) . 

    The HLASM390C® translator contains a syntax analyzer, an HLASM390 to tertiary converter, and a tertiary to "C converter. The syntax analyzer scans the HLASM390 input file for syntactic errors and generates a listing file of the HLASM390 program. Any syntactic errors will be flagged with detailed English messages in the listing file. If no errors are encountered, the HLASM390 input file is converted to tertiary language. Then the tertiary file is checked and, if no errors are detected, it is converted to "C". A command line control is provided to allow translation with errors in the source file. This is helpful when translating code fragments that are not complete programs.

    The translation of the HLASM390 source language into an intermediate tertiary language ensures the logical equivalence between the source and target languages. This sophisticated tertiary language, which is common to our entire family of translators, allows complex mapping from source language to the target. The tertiary language is automatically converted to "C" while maintaining the logical equivalence between the output "C" program and the input HLASM390program.

    The "C" output file will be generated in 

    1. Compact and portable K&R C 
    2. Standard ANSI C code 

    as selected by a command line option.

    ASM390 Directives:
    ACTR AGO AIF ANOP CCW CNOP COM COPY CSECT SCD DC DROP DS DSECT DXD EJECT END ENTRY EQU AR EXTRN GBLA GBLB GBLC ICTL ISEQ LCLA LCLB CLCL LTORG MACRO MEND MEXIT MNOTE OPSYN ORG POP PRINT PUNCH PUSH REPRO SETA SETB SETC SPACE STATE TITLE USING WXTRN

    Assembler H Version 2
    CCW0 CCW1 LOCTR AMODE RMODE AREAD MHELP MREAD

    Operators:
    AND DUP EQ GE GT HIGH LE LENGTH LOW LT MASK MOD NE NOT OFFSET OR PR RSEG SHL SHORT SHR SIZE THIS TYPE DTYPE WIDTH XOR

    ASM390 Instructions Supported:

    General Instructions
    AR A AH ALR AL NR N NC NI BALR BAL BASR BAS BCR BC BCTR BCT BXH BXLE CR C CS CDS CH CLR CL CLC CLI CLM CLCL CVB CVD DR D XR X C XI EX IC ICM LR L LA LTR LCR LH LM LNR LPR MC MVC MVI MVCIN MVCL MVN MVO MVZ MR M MH OR O OC OI PACK SPM SLDA SLDL SLA SLL SRDA SRDL SRA SRL ST STC STCM STCK STH STM SR S SH SLR SL SVC TS TM TR TRT UNPK

    Control Instructions
    CONCS DISCS EPAR ESAR IAC IPK ISK ISKE IVSK IPTE LASP LCTL LPSW LRA MVCP MVCS MVCK PC PT PTLB RDD RRB RRBE SAC SCK SCKC SPT SPX SPKA SSAR SSK SSKE SSM SIGP STCKC STCTL STAP STIDP STIDC STPT STPX STNSM STOSM TB TPROT WRD SIO SIOF RIO TIO CLRIO HIO HDV TCH CLRCH

    Decimal Instructions
    AP CP DP ED EDMK MP SRP SP ZAP

    Floating Point Instructions
    AXR ADR AD AER AE AWR AW AUR AU CDR CD CER CE DDR DD DER DE HDR HER LDR LD LER LE LTDR LTER LCDR LCER LNDR LNER LPDA LPER LADA LRDR LRER MXR MDR MD MXDR MXD MER ME STD STE SXR SDR SD SER SE SWR SW SUR SU

    New Instructions
    CLRP DEP DCTP MAD MUN STCAP

    Extended Mnemonic Instructions
    B BR NOP NOPR BH BHR BL BLR BE BER BNH BNHR BNL BNLR BNE BNER BP BPR BM BMR BZ BZR BO BOR BNP BNPR BNM BNMR BNZ BNZR BNO BNOR

    Registers
    PSW GR0 GR1 GR2 GR4 GR5 GR6 GR7 GR8 GR9 GR10 GR11 GR12 GR13 GR14 GR15 CR0 CR1 CR2 CR3 CR4 CR5 CR6 CR7 CR8 CR9 CR10 CR11 CR12 CR13 CR14 CR15 FPR0 FPR1 FPR2 FPR3

    HIgh Level Assembly Langauge(HLASM) Supported:

    IF ELSE ENDIF SELECT WHEN ENDSELCT
    DO ENDDO FROM INF DOEXIT OTHER INVOKE
    PROC EXITIF UNTIL WHILE STRTSRCH ENDSRCH
    ENDLOOP

     

    TECHNICAL INFORMATION

    CPU SUPPORTED: IBM SYSTM/390

    HOSTS SUPPORTED: The translators run under all Microsoft Windows platforms. Porting of the translator to other hosts is available.

    TRANSLATION METHOD: Double conversion from HLASM390 to tertiary and then from tertiary to "C".

    TRANSLATION CAPACITY: WIN32 version can translate more then 500,000 lines per file.

    TRANSLATOR RUN TIME SUPPORT: Skeletons in "C" of the run time support function are available with the translator. 

    SOFTWARE FORMAT AND MEDIA: CD for Windows

    DOCUMENTATION: User's Guide

    COPY PROTECTION: Includes a USB security lock

    SUPPORT: Includes 30 days free telephone or e-mail technical support. For updates, monthly support must be purchased.

    WEIGHT: 2 pounds

    ORDER: HLASM390C