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 ASM370 fragments
  • Translation of INCLUDE or COPY files
  • Translation of ASM370 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 ASM370 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 ASM370 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, ASM370, MAINFRAME ASSEMBLY, ASM370C, ASSEMBLER, JCL, JOB CONTROL LANGUAGE, HLAL, ASSEMBLER, SYSTEM/370,

     

    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

    ASM370C
    IBM ASM 370 to "C" Translator, Converter:
    Reverse Engineering For Assembly Source Code

    The ASM370C® translator is a Microsoft Windows program that translates IBM main frame ASM370 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 ASM370 code through the translator and start debugging C code with your target compiler.

    GENERAL DESCRIPTION

    The ASM370C® translator is a software tool that will convert existing ASM370 programs to "C". The powerful ASM370C® translator accepts ASM370 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 ASM370 are converted to calls to external procedures ( Get free sample translation) . 

    The ASM370C® translator contains a syntax analyzer, an ASM370 to tertiary converter, and a tertiary to "C converter. The syntax analyzer scans the ASM370 input file for syntactic errors and generates a listing file of the ASM370 program. Any syntactic errors will be flagged with detailed English messages in the listing file. If no errors are encountered, the ASM370 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 ASM370 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 ASM370 program.

    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.

    ASM370 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 Ver 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

    ASM370 Instructions:

    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

    ORDER INFORMATION

    WEIGHT: 2 pounds

    ORDER: ASM370C