Page 1 of 1

Assembler To COBOL conversion

PostPosted: Mon Jul 05, 2010 6:58 pm
by Ambarish
I am working in a assembler to cobol migration project.
I need to convert assembler codes to cobol codes.

Can any one help me in suggesting what equivalent should I use in COBOL for variables defined with HEX data type in assembler?

Thanks,

Amb :)

Re: Assembler To COBOL conversion

PostPosted: Mon Jul 05, 2010 9:40 pm
by steve-myers
I can't answer Cobol questions but I suspect Cobol types can't answer the question until you provide us with at least the hexadecimal constant and at least one of the instructions that use the constant. This could be an example of poor Assembler coding practice confusing you, or it could be an example of Assembler that can't readily be transformed into Cobol.

Re: Assembler To COBOL conversion

PostPosted: Mon Jul 05, 2010 9:55 pm
by dick scherrer
Posting the same question in multiple forums is not acceptable :(

As you were told elsewhere - recode the functionality. Do not try to convert line by line.

d