.equ Statements with GNU Assembler
Posted on 2006-11-14
I'm using GAWK to automate the conversion of lots of assembly language source files written for the Phar386 assembler to they can be recompiled with the GNU assembler. So far, things are generally going fine!
I have three statements that have been encountered that I'm researching how to convert from Phar386 to GNU:
ml_variable_scrn EQU "000,000,192,240" ;these are the Phar386 versions
ml_adv_msg_scrn EQU "000,240,192,016"
ml_fixed_scrn EQU "000,256,192,064"
.equ ml_variable_scrn,"000,000,192,240" ;these are the same lines after the automated tool conversion
When the second set of lines are compiled using the GNU Assembler, each of the three lines produces these two warnings:
"Error: bad expression"
"Error: junk at end of line, first unrecognized character is '0'
How to convert the first set of three lines so that will peform correctly when compiled with the GNU Assembler?
Quick and good answers are needed and will be highly appreciated!
How can the